[]
Restricts a vector between a minimum and a maximum value.
public static Vector4 Clamp(Vector4 value, Vector4 min, Vector4 max)
| Type | Name | Description |
|---|---|---|
| Vector4 | value | The vector to restrict. |
| Vector4 | min | The minimum value. |
| Vector4 | max | The maximum value. |
| Type | Description |
|---|---|
| Vector4 | The restricted vector. |