49
edits
| Line 79: | Line 79: | ||
User defined color table requirements: | User defined color table requirements: | ||
* A 'color table', or color constant, must be created with CreateColor(r, g, b, a) which creates a ColorMixin instance. BackdropTemplate will try to call GetRGB on the table and expect an 'r, g, b | * A 'color table', or color constant, must be created with CreateColor(r, g, b, a) which creates a ColorMixin instance. BackdropTemplate will try to call GetRGB on the table and expect an 'r, g, b =' return. | ||
<pre lang='lua'> | <pre lang='lua'> | ||
PURE_RED_COLOR = CreateColor(0.8, 0, 0); | PURE_RED_COLOR = CreateColor(0.8, 0, 0); | ||