Class representing a color with 4 float components: RGBA.
More...
#include <Color4f.h>
|
| Color4f ()=default |
| Color in 4 float components default constructor.
|
|
| Color4f (float x, float y, float z, float w) |
| Color in 4 float components constructor. More...
|
|
|
float | x = 1 |
| Color red component (R)
|
|
float | y = 1 |
| Color green component (G)
|
|
float | z = 1 |
| Color blue component (B)
|
|
float | w = 1 |
| Color alpha component (A)
|
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
| Serialize a Color3f to a stream of bytes. More...
|
|
|
class | boost::serialization::access |
|
Class representing a color with 4 float components: RGBA.
◆ Color4f()
Color4f::Color4f |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
|
inline |
◆ serialize()
template<class Archive >
void Color4f::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprivate |
Serialize a Color3f to a stream of bytes.
- Template Parameters
-
- Parameters
-
ar | Specific rendering for the stream of bytes |
version | Version number of the Color4f |
The documentation for this class was generated from the following file: