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