Category: Arithmetics
Since engine version: 5.1 OC
GetRGBaValue
Description
Returns one of the three color fractions of the specified 32 bit color value:
| select | Return value |
|---|---|
| 0 | Alpha value |
| 1 | Red value |
| 2 | Green value |
| 3 | Blue value |
Syntax
int GetRGBaValue(int Val, int select);
Parameters
- Val:
- 32 bit color value
- select:
- 0-3: desired value to be returned
Example
See also: RGBa, SetRGBaValue


