![]() |
Zivid C++ API 2.18.0+1b44dbef-1
|
Color with 32-bit red, green, blue and alpha channels. More...
#include <Zivid/Color.h>
Public Member Functions | |
| ColorRGBABase ()=default | |
| Constructor. | |
| ColorRGBABase (T red, T green, T blue, T alpha) | |
| Constructor. | |
| Public Member Functions inherited from Zivid::ColorRGBABase< float > | |
| ColorRGBABase ()=default | |
| Constructor. | |
| ZIVID_UTILS_EXPORT bool | operator== (const ColorRGBABase &rhs) const |
| Check for equality. | |
| ZIVID_UTILS_EXPORT bool | operator!= (const ColorRGBABase &rhs) const |
| Check for inequality. | |
| std::string | toString () const |
| Get string representation. | |
Additional Inherited Members | |
| Public Types inherited from Zivid::ColorRGBABase< float > | |
| using | ValueType |
| The type of the channel values. | |
| Public Attributes inherited from Zivid::ColorRGBABase< float > | |
| float | r |
| Red channel. | |
| float | g |
| Green channel. | |
| float | b |
| Blue channel. | |
| float | a |
| Alpha channel. | |
Color with 32-bit red, green, blue and alpha channels.
The order of the members is r, g, b, a, and each member is represented as a 32-bit float. The members have values from 0 to 1.
|
default |
Constructor.
|
inline |
Constructor.