Background for Skyrim SE
Member of the LibMathf script
floatfunctionInverseLerp(floata, floatb, floatvalue)NativeGlobal

Description

Documentation Comment

Calculates the linear parameter t that produces the interpolant value within the range [a, b]


Caveats


Parameters

floata

floatb

floatvalue


Examples

Auto-Generated Example

float myFloat__a
float myFloat__b
float myFloat__value

float returnedValue = LibMathf.InverseLerp(myFloat__a, myFloat__b, myFloat__value)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.