Go to: Related nodes. Attributes.

This node outputs the weight used to compute the given interpolation from the 2 inputs. w = -i1 / (i2 - i1)

Note: This node is deprecated in favor of its unitless version "inverseLerp" and may be removed in a future release.

Node nameParentsClassificationMFn typeCompatible function sets
inverseLerpDLnodemathLinear/operation:utility/scalar:drawdb/shader/operation/inverseLerpkInverseLinearInterpolationkBase
kNamedObject
kDependencyNode
kInverseLinearInterpolation

Related nodes

distanceBetweenDL, lerpDL, inverseLerp

Attributes (4)

input1, input2, interpolation, output

Long name (short name)TypeDefaultFlags
input1 (i1) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double input
input2 (i2) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double input
interpolation (i) distance (double)0.0cmoutputinputconnectablestorablekeyable
The interpolated value
output (o) distance (double)0.0cmoutputconnectable
The weight of input 1.