Go to: Related nodes. Attributes.

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

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

Related nodes

distance, inverseLerp

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.