44 DtColor(
float rr,
float gg,
float bb,
float aa)
~DtColor()
Destructor.
Definition color.h:53
static DtColor white()
Creates a white color (RGBA: 1,1,1,1)
Definition color.h:65
float b
Blue component (0.0 to 1.0)
Definition color.h:110
static DtColor red()
Creates a red color (RGBA: 1,0,0,1)
Definition color.h:85
Fill
Fill mode enumeration for rendering.
Definition color.h:26
@ FILL_TRANSPARENT
Transparent fill mode.
Definition color.h:28
@ FILL_SOLID
Solid fill mode.
Definition color.h:27
@ FILL_NONE
No fill mode.
Definition color.h:30
@ FILL_WIREFRAME
Wireframe fill mode.
Definition color.h:29
bool operator==(const DtColor &other) const
Equality comparison operator.
float r
Red component (0.0 to 1.0)
Definition color.h:104
static DtColor green()
Creates a green color (RGBA: 0,1,0,1)
Definition color.h:80
static DtColor yellow()
Creates a yellow color (RGBA: 1,1,0,1)
Definition color.h:95
static DtColor black()
Creates a black color (RGBA: 0,0,0,1)
Definition color.h:70
DtColor()
Default constructor.
Definition color.h:36
static DtColor blue()
Creates a blue color (RGBA: 0,0,1,1)
Definition color.h:75
DtColor(float rr, float gg, float bb, float aa)
Constructor with RGBA components.
Definition color.h:44
float g
Green component (0.0 to 1.0)
Definition color.h:107
unsigned int toUInt() const
Converts the color to an unsigned integer representation.
float a
Alpha component (0.0 to 1.0, where 1.0 is fully opaque)
Definition color.h:113
static DtColor orange()
Creates an orange color (RGBA: 1,0.5,0,1)
Definition color.h:90
Defines export macros for the VREngage Utility library.
#define UTIL_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
Include export definitions for this library.
Definition glsVreMessageUtil.h:49