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