Documentation

Linear Interpolate - Open Dev Kit Documentation

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

Root.ColorHDR.Lerp(
  Color 1 Color HDR,
  Color 2 Color HDR,
  Factor Float
) Color HDR
Returns Color 1 if Factor is 0, Color 2 if Factor is 1 and the average of Color 1 and 2 if Factor is 0.5, with everything in between using color interpolation

Parameters

Color 1 Color HDR
The first color
Color 2 Color HDR
The second color
Factor Float
The factor of which value is returned (usually between 0.0 and 1.0)

Return Value

Color HDR

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