#include <seadColor.h>
Public Member Functions | |
| Color4f () | |
| Color4f (f32 _r, f32 _g, f32 _b, f32 _a) | |
| void | setf (f32 _r, f32 _g, f32 _b, f32 _a) |
| void | setLerp (const Color4f &from, const Color4f &to, f32 ratio) |
| Color4f & | operator+= (const Color4f &rhs) |
| Color4f & | operator*= (const Color4f &rhs) |
| Color4f & | operator*= (f32 rhs) |
Public Attributes | |
| union { | |
| struct { | |
| f32 r | |
| f32 g | |
| f32 b | |
| f32 a | |
| } | |
| struct { | |
| f32 c [4] | |
| } | |
| }; | |
Static Public Attributes | |
| static const f32 | cElementMax = 1.0f |
| static const f32 | cElementMin = 0.0f |
| static const Color4f | cBlack |
| static const Color4f | cGray |
| static const Color4f | cWhite |
| static const Color4f | cRed |
| static const Color4f | cGreen |
| static const Color4f | cBlue |
| static const Color4f | cYellow |
| static const Color4f | cMagenta |
| static const Color4f | cCyan |
Friends | |
| Color4f | operator* (const Color4f &lhs, const Color4f &rhs) |
| Color4f | operator* (const Color4f &lhs, f32 rhs) |
| bool | operator== (const Color4f &lhs, const Color4f &rhs) |
|
inline |
|
inline |
|
inline |
| Color4f & sead::Color4f::operator*= | ( | f32 | rhs | ) |
| f32 sead::Color4f::r |
| f32 sead::Color4f::g |
| f32 sead::Color4f::b |
| f32 sead::Color4f::a |
| f32 sead::Color4f::c[4] |
| union { ... } sead::Color4f |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |