Color
Fields
float |
|
float |
|
float |
|
float |
Functions
bool |
|
bool |
Detailed Description
-
struct Color
An RGBA color, where each channel is in normalized [0, 1] space.
Public Functions
-
Color() = default
Public Members
-
float red
Red component of this color object, from 0.0 to 1.0.
-
float green
Green component of this color object, from 0.0 to 1.0.
-
float blue
Blue component of this color object, from 0.0 to 1.0.
-
float alpha
Alpha component of this color object, from 0.0 to 1.0. Used to define transparency level.
-
Color() = default