[]
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)
Public Shared Sub ClampRef(ByRef result As Vector4, ByRef value As Vector4, ByRef min As Vector4, ByRef max As Vector4)
| 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. |