Rescale

 
 
 

Categories

  • Math > Basic

Description

Outputs a value between the Target Start and Target End values that is proportional to the value between the Source Start and Source End values.

The output can be clamped to the Target interval when the input Value falls outside of the Source interval.

Ports

Inputs

Value

The value to rescale.

Source Start

Minimum value for the Source range.

Source End

Maximum value for the Source range.

Target Start

Minimum value for the Target range.

Target End

Maximum value for the Target range.

Clamp

True to clamp the output value to the Target interval when the input Value falls outside of the Source interval.

Outputs

Result

The rescaled value.