Restricts the current instance of
Vector3I to be within a specified range and returns the clamped value.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public void Clamp(
Vector3I min,
Vector3I max
)
Parameters
- min
- Type: NeoAxisVector3I
The minimum value. - max
- Type: NeoAxisVector3I
The maximum value.
Return Value
Type:
The clamped instance of
Vector3I.
See Also