Click or drag to resize

Vector3Clamp Method

Restricts the current instance of Vector3 to be within a specified range and returns the clamped value.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public void Clamp(
	Vector3 min,
	Vector3 max
)

Parameters

min  Vector3
The minimum value.
max  Vector3
The maximum value.

Return Value

The clamped instance of Vector3.
See Also