Linear Interpolate

 
 
 

Categories

  • Math > Basic

Description

Outputs the result of the linear interpolation between the first and the second input values given the specified blend value.

The blend value indicates how much the second input value should affect the first input value. For example, when the blend value is 0, the result equals the first input value; when the blend value is 1, the result equals the second input value; when the blend value is 0.5, the result equals the value between the first and the second input values.

The specified input clamp Boolean value is used to clamp the result between the first and second input values when the blend value is less than 0 or greater than 1.

Ports

Inputs

First

The first value to be interpolated.

Second

The second value to be interpolated.

Blend

The blend value to use.

Clamp

Determines whether or not to clamp the resulting value of the interpolation.

Outputs

Result

The result of the linear interpolation.