Color.SetRGBA
This page contains reference documentation for the SetRGBA function. This function sets the red, green, blue, and alpha values of the color to the specified values.
Prototype
int SetRGBA( int R, int G, int B, int A )
Parameters
Function parameters are as follows:
- R: Sets the red value of the color to the specified value.
- G: Sets the green value of the color to the specified value.
- B: Sets the blue value of the color to the specified value.
- A: Sets the alpha value of the color to the specified value.
Examples
Examples are as follows:
Working Sample Code
For sample code:
- worksheet_scripts.ssl
- material_scripts.ssl