Method InverseLerp
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
InverseLerp(float)
Calculates the inverse linear interpolation between min and max, that is the parameter t such that Lerp(t) = value.
[Version(4, 2, 0)]
public float InverseLerp(float value)
Parameters
value
floatThe value to calculate the inverse lerp for.
Returns
- float
The inverse lerp value.