IntRange.Clamp
Method in IntRange
Implements INumberRange<T>.Clamp
Declaration
public int Clamp(int value)
Description
Clamps a value to the range.
Parameters
value | The value to clamp. |
Returns
int | The clamped value. |
public int Clamp(int value)
Clamps a value to the range.
value | The value to clamp. |
int | The clamped value. |