Documentation

Linear Interpolate within Range - Open Dev Kit Documentation

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

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

Parameters

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

Return Value

Color HDR

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