Vector3IntExtensions.Clamped
Extension Method in Vector3IntExtensions
Declaration
public static Vector3Int Clamped(this Vector3Int vector, Vector3Int min, Vector3Int max)
Description
Clamps the vector to the range [min..max].
Parameters
vector | The vector to clamp. |
min | The minimum value. |
max | The maximum value. |
Returns
Vector3Int | A new clamped vector. |