Go to: Related nodes. Attributes.

This node outputs the linear interpolation between the 2 input values. o = w * i1 + (1-w) * i2.

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

Node nameParentsClassificationMFn typeCompatible function sets
lerpDLnodemathLinear/operation:utility/scalar:drawdb/shader/operation/lerpkLinearInterpolationkBase
kNamedObject
kDependencyNode
kLinearInterpolation

Related nodes

distanceBetweenDL, inverseLerpDL, lerp

Attributes (4)

input1, input2, output, weight

Long name (short name)TypeDefaultFlags
input1 (i1) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double input
input2 (i2) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double input
output (o) distance (double)0.0cmoutputconnectable
The linear interpolation of the 2 inputs
weight (w) distance (double)0.0cmoutputinputconnectablestorablekeyable
The weight of input 1.