Documentation

Alpha Blend (Premultiply) - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Color HDR :: Alpha Blend (Premultiply)

Root.ColorHDR.Blend(
  Color 1 Color HDR,
  Color 2 Color HDR
) Color HDR
Returns Color 1 if Alpha is 0, Color 2 if Alpha is 255 and the average of Color 1 and 2 if Alpha is 127, with everything in between using color interpolation; only Alpha from Color 2 is used

Parameters

Color 1 Color HDR
The first color
Color 2 Color HDR
The second color

Return Value

Color HDR

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