RGBA color composed of 4 floats. More...
#include <ccTypes.h>
Public Member Functions | |
Color4F (float _r, float _g, float _b, float _a) | |
Color4F (const Color3B &color3B) | |
Color4F (const Color4B &color4B) | |
Color4F () | |
bool | equals (const Color4F &other) |
Public Attributes | |
GLfloat | r |
GLfloat | g |
GLfloat | b |
GLfloat | a |
Static Public Attributes | |
static const Color4F | WHITE |
static const Color4F | YELLOW |
static const Color4F | BLUE |
static const Color4F | GREEN |
static const Color4F | RED |
static const Color4F | MAGENTA |
static const Color4F | BLACK |
static const Color4F | ORANGE |
static const Color4F | GRAY |
RGBA color composed of 4 floats.
|
inline |
|
inline |
|
inline |
GLfloat a |
GLfloat b |
|
static |
|
static |
GLfloat g |
|
static |
|
static |
|
static |
|
static |
GLfloat r |
|
static |
|
static |
|
static |