Public Member Functions | |
Color4 () | |
Color4 (const Color4 &c) | |
Color4 (const String &name, Real ac=Real(1)) | |
Color4 (const Color3 &c) | |
Color4 (Real rc, Real gc, Real bc, Real ac=Real(1)) | |
~Color4 () | |
Color4 & | operator= (const Color4 &c) |
Color4 & | operator= (const Color3 &c) |
bool | operator== (const Color4 &c) const |
bool | equals (const Color4 &c, Real epsilon=consts::epsilon) const |
void | setZero () |
Color4 & | operator *= (Real s) |
Real * | c_array () |
Static Public Member Functions | |
Color4 | interpolate (const Color4 &c1, const Color4 &c2, Real t) |
Public Attributes | |
Real | r |
Real | g |
Real | b |
Real | a |
|
Definition at line 38 of file Color4. Referenced by interpolate(). |
|
|
|
|
|
Definition at line 41 of file Color4. References gfx::Color3::b, gfx::Color3::g, and gfx::Color3::r. |
|
|
|
|
|
|
|
Definition at line 55 of file Color4. References a, b, base::equals(), g, and r. |
|
|
|
Definition at line 61 of file Color4. References base::abs(). |
|
Definition at line 49 of file Color4. References gfx::Color3::b, gfx::Color3::g, and gfx::Color3::r. |
|
|
|
|
|
|
|
Definition at line 70 of file Color4. Referenced by Color4(), equals(), interpolate(), gfx::operator<<(), operator=(), and operator==(). |
|
Definition at line 70 of file Color4. Referenced by Color4(), equals(), interpolate(), gfx::operator<<(), operator=(), and operator==(). |
|
Definition at line 70 of file Color4. Referenced by Color4(), equals(), interpolate(), gfx::operator<<(), operator=(), and operator==(). |
|
Definition at line 70 of file Color4. Referenced by Color4(), equals(), interpolate(), gfx::operator<<(), operator=(), and operator==(). |