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: 2023.1.2.0 (2023.1.2.0)
Syntaxpublic void Clamp(
Vector3 min,
Vector3 max
)
Parameters
- min
- Type: NeoAxisVector3
The minimum value. - max
- Type: NeoAxisVector3
The maximum value.
Return Value
Type:
The clamped instance of
Vector3.
See Also