Public Member Functions | |
Color (const unsigned char uR=0, const unsigned char uG=0, const unsigned char uB=0, const unsigned char uA=255) | |
Color (const int iR, const int iG, const int iB, const int iA=255) | |
Color (const float fR, const float fG, const float fB, const float fA=1.0f) | |
Color (const unsigned char *pData) | |
Color (const float *pData) | |
void | Set (const unsigned char uR, const unsigned char uG, const unsigned char uB, const unsigned char uA=255) |
const float * | Get () const |
void | SetRed (const float uR) |
const float | GetRed () const |
void | SetGreen (const float uG) |
const float | GetGreen () const |
void | SetBlue (const float uB) |
const float | GetBlue () const |
void | SetAlpha (const float uA) |
const float | GetAlpha () const |
void | SetNormalized (const float fR, const float fG, const float fB, const float fA=1.0f) |
void | SetNormalizedRed (const float fR) |
void | SetNormalizedGreen (const float fG) |
void | SetNormalizedBlue (const float fB) |
void | SetNormalizedAlpha (const float fA) |
const float | GetNormalizedRed () const |
const float | GetNormalizedGreen () const |
const float | GetNormalizedBlue () const |
const float | GetNormalizedAlpha () const |
void | SetHSV (const float fHue, const float fSaturation, const float fValue) |
const Color & | operator*= (const float fOther) |
const Color & | operator/= (const float fOther) |
const Color & | operator+= (const Color &colOther) |
const Color & | operator-= (const Color &colOther) |
const Color | operator* (const float fOther) const |
const Color | operator/ (const float fOther) const |
const Color | operator+ (const Color &colOther) const |
const Color | operator- (const Color &colOther) const |
const bool | operator== (const Color &colOther) const |
const bool | operator!= (const Color &colOther) const |
const bool | choose () |
Static Public Member Functions | |
static const bool | chooseColor (Color &colColor) |