|
Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
Represents a color in Red-Green-Blue space. More...
#include <types.h>
Public Member Functions | |
| aiColor3D () AI_NO_EXCEPT | |
| aiColor3D (const aiColor3D &o) | |
| aiColor3D (float _r) | |
| aiColor3D (float _r, float _g, float _b) | |
| bool | IsBlack () const |
| Check whether a color is black. | |
| bool | operator!= (const aiColor3D &other) const |
| Component-wise inverse comparison. | |
| aiColor3D | operator* (ai_real 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. | |
| aiColor3D & | operator= (const aiColor3D &o) |
| 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. | |
Represents a color in Red-Green-Blue space.
|
inline |
|
inlineexplicit |
|
inline |
Check whether a color is black.
Component-wise inverse comparison.
| float aiColor3D::b |
| float aiColor3D::g |
| float aiColor3D::r |
Red, green and blue color values.