Restricts the current instance of
Vector2I 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(
Vector2I min,
Vector2I max
)
Parameters
- min
- Type: NeoAxisVector2I
The minimum value. - max
- Type: NeoAxisVector2I
The maximum value.
Return Value
Type:
The clamped instance of
Vector2I.
See Also