Vector4Extensions.Clamp
Extension Method in Vector4Extensions
Declaration
public static void Clamp(this ref Vector4 vector, Vector4 min, Vector4 max)
Description
Clamps the vector to the range [min..max].
Parameters
vector | The vector to clamp. |
min | The minimum value. |
max | The maximum value. |