Vector3IntExtensions.Clamp
Extension Method in Vector3IntExtensions
Declaration
public static void Clamp(this ref 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. |