[]
Restricts a vector between a minimum and a maximum value.
public static void ClampRef(out Vector4 result, ref Vector4 value, ref Vector4 min, ref Vector4 max)
Type | Name | Description |
---|---|---|
Vector4 | result | When the method completes, contains an the restricted vector. |
Vector4 | value | The vector to restrict. |
Vector4 | min | The minimum value. |
Vector4 | max | The maximum value. |