SetColor Data Member Function

Assigns a color to an index in the Palette.

Prototype

int32 SetColor( int32 p_nIndex, Color p_oColor )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexAn <int32> representing the index in the Palette. Must be between 0-255.
<Color>p_oColorA pointer to the <Color> you wish to insert in the Palette.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.