|
libHSPlasma
|
#include <hsColor.h>
Public Member Functions | |
| hsColorRGBA (float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f) | |
| void | set (float red, float green, float blue, float alpha=1.0f) |
| void | set (const hsColorRGBA &init) |
| bool | operator== (const hsColorRGBA &other) const |
| bool | operator!= (const hsColorRGBA &other) const |
| void | read (hsStream *S) |
| void | write (hsStream *S) |
| void | readRGB (hsStream *S) |
| void | writeRGB (hsStream *S) |
| void | prcWrite (pfPrcHelper *prc) |
| void | prcParse (const pfPrcTag *tag) |
Public Attributes | |
| float | r |
| float | g |
| float | b |
| float | a |
Static Public Attributes | |
| static const hsColorRGBA | kBlack |
| static const hsColorRGBA | kWhite |
| static const hsColorRGBA | kRed |
| static const hsColorRGBA | kGreen |
| static const hsColorRGBA | kBlue |
| static const hsColorRGBA | kYellow |
| static const hsColorRGBA | kMagenta |
| static const hsColorRGBA | kCyan |
| static const hsColorRGBA | kGray |
| static const hsColorRGBA | kNone |
| hsColorRGBA::hsColorRGBA | ( | float | red = 0.0f, |
| float | green = 0.0f, |
||
| float | blue = 0.0f, |
||
| float | alpha = 1.0f |
||
| ) |
| bool hsColorRGBA::operator!= | ( | const hsColorRGBA & | other | ) | const |
| bool hsColorRGBA::operator== | ( | const hsColorRGBA & | other | ) | const |
| void hsColorRGBA::prcParse | ( | const pfPrcTag * | tag | ) |
| void hsColorRGBA::prcWrite | ( | pfPrcHelper * | prc | ) |
| void hsColorRGBA::read | ( | hsStream * | S | ) |
| void hsColorRGBA::readRGB | ( | hsStream * | S | ) |
| void hsColorRGBA::set | ( | float | red, |
| float | green, | ||
| float | blue, | ||
| float | alpha = 1.0f |
||
| ) |
| void hsColorRGBA::set | ( | const hsColorRGBA & | init | ) |
| void hsColorRGBA::write | ( | hsStream * | S | ) |
| void hsColorRGBA::writeRGB | ( | hsStream * | S | ) |
| float hsColorRGBA::a |
| float hsColorRGBA::b |
| float hsColorRGBA::g |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| float hsColorRGBA::r |
1.8.1.2