SetRGB Data Member Function

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

Prototype

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

Parameters

Parameter Type Parameter Name Documentation
<uint8>p_nRedThe new red value of the color, between 0 and 255.
<uint8>p_nGreenThe new green value of the color, between 0 and 255.
<uint8>p_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 Simdify Scripting Language code base.