[This is preliminary documentation and is subject to change.]
Restricts a value to be within a specified range.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
public static void Clamp( ref Vector3 value, ref Vector3 min, ref Vector3 max, out Vector3 result )
Parameters
- value
- Type: RageVector3
The value to clamp. - min
- Type: RageVector3
The minimum value. - max
- Type: RageVector3
The maximum value. - result
- Type: RageVector3
When the method completes, contains the clamped value.
See Also