SetRGB Data Member Function

Sets the red, green and blue values of a <Color4444> object.

Prototype

int32 SetRGB( int32 p_nRed, int32 p_nGreen, int32 p_nBlue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nRedThe new red value of the color, between 0 and 255.
int32p_nGreenThe new green value of the color, between 0 and 255.
int32p_nBlueThe new blue value of the color, between 0 and 255.

Examples

Copy Text To Clipboard

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