linearly v0.32.0 • Docs
linearly v0.32.0 / scalar / inverseLerp
Function: inverseLerp()
inverseLerp(
a
,b
,t
):number
Returns the amount to mix min
and max
to generate the input value t
. This is the inverse of the lerp
function. If min
and max
are equal, the mixing value is 0.5
.
Parameters
• a: number
• b: number
• t: number
Returns
number
See
- https://docs.unity3d.com/Packages/com.unity.shadergraph@6.9/manual/Inverse-Lerp-Node.html
- https://www.sidefx.com/docs/houdini/vex/functions/invlerp.html