Documentation

Alpha Blend (Premultiply) - Open Dev Kit Documentation

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

Root.Color.Blend(
  Color 1 Color,
  Color 2 Color
) Color
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
The first color
Color 2 Color
The second color

Return Value

Color

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