Assimp
v2.0 (November 2010)
|
Represents a color in Red-Green-Blue space. More...
Public Member Functions | |
aiColor3D () | |
aiColor3D (float _r, float _g, float _b) | |
aiColor3D (float _r) | |
aiColor3D (const aiColor3D &o) | |
bool | IsBlack () const |
Check whether a color is black. More... | |
bool | operator!= (const aiColor3D &other) const |
Component-wise inverse comparison. More... | |
aiColor3D | operator* (const aiColor3D &c) const |
Component-wise multiplication. More... | |
aiColor3D | operator* (float f) const |
Multiply with a scalar. More... | |
aiColor3D | operator+ (const aiColor3D &c) const |
Component-wise addition. More... | |
aiColor3D | operator- (const aiColor3D &c) const |
Component-wise subtraction. More... | |
bool | operator== (const aiColor3D &other) const |
Component-wise comparison. More... | |
float | operator[] (unsigned int i) const |
Access a specific color component. More... | |
float & | operator[] (unsigned int i) |
Access a specific color component. More... | |
Public Attributes | |
float | b |
float | g |
float | r |
Red, green and blue color values. More... | |
Represents a color in Red-Green-Blue space.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Check whether a color is black.
|
inline |
Component-wise inverse comparison.
|
inline |
Multiply with a scalar.
|
inline |
Component-wise comparison.
|
inline |
Access a specific color component.
|
inline |
Access a specific color component.
float aiColor3D::b |
float aiColor3D::g |
float aiColor3D::r |
Red, green and blue color values.