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