Method SliderNormalizeValue
SliderNormalizeValue(float, float, float)
Method to implement which returns the normalized value of a given value in a specific range.
Usually you can use directly an InverseLerp(float, float, float) for floating point value types.
Declaration
protected override float SliderNormalizeValue(float currentValue, float lowerValue, float higherValue)
Parameters
Type | Name | Description |
---|---|---|
float | currentValue | The value to normalize. |
float | lowerValue | The lowest value in the range. |
float | higherValue | The highest value in the range. |
Returns
Type | Description |
---|---|
float |