SetRGBA Data Member Function

Sets the specified red, green, blue, and alpha values.

Prototype

int32 SetRGBA( uint8 p_nRed, uint8 p_nGreen, uint8 p_nBlue, uint8 p_nAlpha )

Parameters

Parameter Type Parameter Name Documentation
<uint8>p_nRedSets the red value of the color to the specified value.
<uint8>p_nGreenSets the green value of the color to the specified value.
<uint8>p_nBlueSets the blue value of the color to the specified value.
<uint8>p_nAlphaSets the alpha value of the color to the specified value.

Examples

Copy Text To Clipboard

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