#include <SMaterial.h>
| Public Member Functions | |
| SColor () | |
| Constructor, initializes color to black. | |
| SColor (int a, int r, int g, int b) | |
| Constructor. | |
| SColor (const SColor ©) | |
| Copy Constructor. | |
| void | set (int a, int r, int g, int b) | 
| Sets color to given values. | |
| unsigned char | getAlpha () | 
| Returns alpha. | |
| unsigned char | getRed () | 
| Returns red. | |
| unsigned char | getBlue () | 
| Returns blue. | |
| unsigned char | getGreen () | 
| Returns green. | |
| int | getIntegerColor () | 
| Returns color in integer format. Ex: 0xAARRGGBB. | |
| 
 | 
| Constructor, initializes color to black. 
 | 
| 
 | ||||||||||||||||||||
| Constructor. 
 | 
| 
 | 
| Copy Constructor. 
 | 
| 
 | 
| Returns alpha. 
 | 
| 
 | 
| Returns blue. 
 | 
| 
 | 
| Returns green. 
 | 
| 
 | 
| Returns color in integer format. Ex: 0xAARRGGBB. 
 | 
| 
 | 
| Returns red. 
 | 
| 
 | ||||||||||||||||||||
| Sets color to given values. 
 | 
 1.4.2
 1.4.2