72 CStdColor(
float valr,
float valg,
float valb,
float vala,
float fltMaxRange);
74 void r(
float fltR,
bool bThrowError =
true);
77 void g(
float fltG,
bool bThrowError =
true);
80 void b(
float fltB,
bool bThrowError =
true);
83 void a(
float fltA,
bool bThrowError =
true);
86 void Set(
float R,
float G,
float B,
float A);
94 void operator+=(
const float fltVal);
95 void operator-=(
const float fltVal);
96 void operator*=(
const float fltVal);
97 void operator/=(
const float fltVal);
105 void ClearNearZero(
float fltTolerance = 1e-5f);
106 float operator[](
const int iIndex);
107 void Load(
CStdXml &oXml, std::string strParamName,
bool bThrowError =
true);
108 void Load(std::string strXml, std::string strParamName,
bool bThrowError =
true);
float m_fltG
The green component of the color.
float m_fltR
The red component of the color.
float m_fltMaxRange
some colors are 0-255, others are 0-1. This specifies the max range for these colors ...
A standard xml manipulation class.
float m_fltB
The blue component of the color.
Namespace for the standard utility objects.
float m_fltA
The alpha component of the color.