The first expression to evaluate. Should result in a number, point or color.
The second expression to evaluate. Should result in the same type as first.
The third expression to evaluate. Should result in the same type as first or a number.
Represents the fraction.
In range [0,1]
for interpolation, <0
or >1
for extrapolation.
An expression that calculates an interpolated or extrapolated result between the result of first and second based on the result of third. Results in a number, point or color depending on the type of the operands. When a number is used with an other type, the operation is applied to the individual element values and the result is of the other type.
Returns an expression that calculates an interpolated or extrapolated result between the result of first and second based on the result of third. The type of the result of the first two expressions should be the same. You can interpolate between numbers, points or colors. The type of the result of the last expression can be a number or of the same type as the first two. The last argument represents the fraction to use when interpolating or extrapolating.