Documentation

Linear Interpolate within Range - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Math :: Linear Interpolate within Range

Root.Math.LerpRange(
  Value Double,
  Minimum Source Double,
  Maximum Source Double,
  Minimum Target Double,
  Maximum Target Double
) Double
Returns a value mapped from the original range to the target range

Parameters

Value Double
The value to map from the original range to the target range
Minimum Source Double
The original minimum value
Maximum Source Double
The original maximum value
Minimum Target Double
The target minimum value
Maximum Target Double
The target maximum value

Return Value

Double

If you think anything is missing, please feel free to: submit documentation feedback on this page