Assigns a color to an index in the Palette.
int32 SetColor( int32 p_nIndex, Color p_oColor )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | An <int32> representing the index in the Palette. Must be between 0-255. |
<Color> | p_oColor | A pointer to the <Color> you wish to insert in the Palette. |
None published. Please look for an example in the Scenome Scripting Language code base.