Documentation

Linear Interpolate within Range - Open Dev Kit Documentation

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

Root.Color.LerpRange(
  Color Color,
  Minimum Source Color,
  Maximum Source Color,
  Minimum Target Color,
  Maximum Target Color
) Color
Returns a color mapped from the original range to the target range

Parameters

Color Color
The color to map from the original range to the target range
Minimum Source Color
The original minimum value
Maximum Source Color
The original maximum value
Minimum Target Color
The target minimum value
Maximum Target Color
The target maximum value

Return Value

Color

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