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 (ai_real _r) | |
aiColor3D (ai_real _r, ai_real _g, ai_real _b) | |
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* (ai_real f) const |
Multiply with a scalar. More... | |
aiColor3D | operator* (const aiColor3D &c) const |
Component-wise multiplication. 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... | |
aiColor3D & | operator= (const aiColor3D &o) |
bool | operator== (const aiColor3D &other) const |
Component-wise comparison. More... | |
ai_real & | operator[] (unsigned int i) |
Access a specific color component. More... | |
ai_real | operator[] (unsigned int i) const |
Access a specific color component. More... | |
Public Attributes | |
ai_real | b |
ai_real | g |
ai_real | r |
Red, green and blue color values. More... | |
Represents a color in Red-Green-Blue space.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
Check whether a color is black.
|
inline |
Component-wise inverse comparison.
|
inline |
Component-wise comparison.
|
inline |
Component-wise comparison.
|
inline |
Access a specific color component.
|
inline |
Access a specific color component.
ai_real aiColor3D::b |
ai_real aiColor3D::g |
ai_real aiColor3D::r |
Red, green and blue color values.