Method GetClampedValue
GetClampedValue(int, int, int)
Get the clamped value.
Declaration
protected override int GetClampedValue(int value, int lowerValue, int higherValue)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The value to clamp. |
| int | lowerValue | The lower bound. |
| int | higherValue | The higher bound. |
Returns
| Type | Description |
|---|---|
| int | The clamped value. |