Public Member Functions | |
| aiColor4D (const aiColor4D &o) | |
| aiColor4D (float _r) | |
| aiColor4D (float _r, float _g, float _b, float _a) | |
| aiColor4D () | |
| bool | IsBlack () const |
| check whether a color is (close to) black | |
| bool | operator!= (const aiColor4D &other) const |
| const aiColor4D & | operator*= (float f) |
| const aiColor4D & | operator+= (const aiColor4D &o) |
| const aiColor4D & | operator-= (const aiColor4D &o) |
| const aiColor4D & | operator/= (float f) |
| bool | operator== (const aiColor4D &other) const |
| float & | operator[] (unsigned int i) |
| float | operator[] (unsigned int i) const |
Public Attributes | |
| float | a |
| float | b |
| float | g |
| float | r |
Color values range from 0 to 1.
| aiColor4D::aiColor4D | ( | ) | [inline] |
| aiColor4D::aiColor4D | ( | float | _r, | |
| float | _g, | |||
| float | _b, | |||
| float | _a | |||
| ) | [inline] |
| aiColor4D::aiColor4D | ( | float | _r | ) | [inline] |
| aiColor4D::aiColor4D | ( | const aiColor4D & | o | ) | [inline] |
| bool aiColor4D::IsBlack | ( | ) | const [inline] |
check whether a color is (close to) black
| AI_FORCE_INLINE bool aiColor4D::operator!= | ( | const aiColor4D & | other | ) | const |
| AI_FORCE_INLINE const aiColor4D & aiColor4D::operator*= | ( | float | f | ) |
| AI_FORCE_INLINE const aiColor4D & aiColor4D::operator/= | ( | float | f | ) |
| AI_FORCE_INLINE bool aiColor4D::operator== | ( | const aiColor4D & | other | ) | const |
| AI_FORCE_INLINE float & aiColor4D::operator[] | ( | unsigned int | i | ) | [inline] |
| AI_FORCE_INLINE float aiColor4D::operator[] | ( | unsigned int | i | ) | const [inline] |
| float aiColor4D::a |
| float aiColor4D::b |
| float aiColor4D::g |
| float aiColor4D::r |
1.5.8