Question on Ogre::Light Class Reference
Posted: Sat Jul 23, 2005 3:56 pm
I have a question on the Light color in this section.
is it 0 - 1
or is it 0 - 255
and what is alpha?
I am confused on the range of values for the color value of RGBPublic Member Functions
ColourValue (float red=1.0f, float green=1.0f, float blue=1.0f, float alpha=1.0f)
bool operator== (const ColourValue &rhs) const
bool operator!= (const ColourValue &rhs) const
RGBA getAsRGBA (void) const
Retrieves colour as RGBA.
ARGB getAsARGB (void) const
Retrieves colour as ARGB.
ABGR getAsABGR (void) const
Retrieves colours as ABGR.
ColourValue operator+ (const ColourValue &rkVector) const
ColourValue operator- (const ColourValue &rkVector) const
ColourValue operator * (float fScalar) const
ColourValue operator * (const ColourValue &rhs) const
ColourValue operator/ (const ColourValue &rhs) const
ColourValue operator/ (float fScalar) const
ColourValue & operator+= (const ColourValue &rkVector)
ColourValue & operator-= (const ColourValue &rkVector)
ColourValue & operator *= (float fScalar)
ColourValue & operator/= (float fScalar)
is it 0 - 1
or is it 0 - 255
and what is alpha?