Color

From Bohemia Interactive Community
Revision as of 20:24, 8 August 2014 by SilentSpike (talk | contribs) (Improved description of alpha value)
Jump to navigation Jump to search

Format:

[r, g, b, a]

Description:

Color - r is the intensity of red, g is the intensity of green, b is the intensity of blue.

a is alpha (opacity). An alpha value of 0 means totally transparent and a value of 1 means totally opaque.

All values range from 0 to 1.