The color class to hold a RGBA color value.
empathy::life_event::CWave | ||
empathy::life_event::MathWave | ||
empathy::life_event::CWave_data |
Color | ( | GLfloat | r, | |
GLfloat | g, | |||
GLfloat | b, | |||
GLfloat | a | ) |
r | |
g | |
b | |
a |
Color | ( | Color * | color | ) |
color |
Apply color from JSON.
key | |
value |
getA | ( | ) |
return |
getB | ( | ) |
return |
getG | ( | ) |
return |
getR | ( | ) |
return |
setA | ( | GLfloat | a | ) |
a |
setB | ( | GLfloat | b | ) |
b |
setColor | ( | GLfloat | r, | |
GLfloat | g, | |||
GLfloat | b, | |||
GLfloat | a | ) |
r | |
g | |
b | |
a |
setG | ( | GLfloat | g | ) |
g |
setR | ( | GLfloat | r | ) |
r |
toString | ( | ) |
return |