#include <OgreColourValue.h>
Public 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. | |
void | setAsRGBA (const RGBA val) |
Sets colour as RGBA. | |
void | setAsARGB (const ARGB val) |
Sets colour as ARGB. | |
void | setAsABGR (const ABGR val) |
Sets colour as ABGR. | |
ColourValue | operator+ (const ColourValue &rkVector) const |
ColourValue | operator- (const ColourValue &rkVector) const |
ColourValue | operator * (const float fScalar) const |
ColourValue | operator * (const ColourValue &rhs) const |
ColourValue | operator/ (const ColourValue &rhs) const |
ColourValue | operator/ (const float fScalar) const |
ColourValue & | operator+= (const ColourValue &rkVector) |
ColourValue & | operator-= (const ColourValue &rkVector) |
ColourValue & | operator *= (const float fScalar) |
ColourValue & | operator/= (const float fScalar) |
Static Public Attributes | |
ColourValue | Black |
ColourValue | White |
ColourValue | Red |
ColourValue | Green |
ColourValue | Blue |
Friends | |
ColourValue | operator * (const float fScalar, const ColourValue &rkVector) |
Definition at line 47 of file OgreColourValue.h.
|
Definition at line 56 of file OgreColourValue.h. |
|
Retrieves colours as ABGR.
|
|
Retrieves colour as ARGB.
|
|
Retrieves colour as RGBA.
|
|
Definition at line 132 of file OgreColourValue.h. |
|
Definition at line 120 of file OgreColourValue.h. |
|
Definition at line 204 of file OgreColourValue.h. |
|
|
|
Definition at line 96 of file OgreColourValue.h. |
|
Definition at line 184 of file OgreColourValue.h. |
|
Definition at line 108 of file OgreColourValue.h. |
|
Definition at line 194 of file OgreColourValue.h. |
|
Definition at line 156 of file OgreColourValue.h. |
|
Definition at line 144 of file OgreColourValue.h. |
|
Definition at line 213 of file OgreColourValue.h. |
|
|
|
Sets colour as ABGR.
|
|
Sets colour as ARGB.
|
|
Sets colour as RGBA.
|
|
Definition at line 171 of file OgreColourValue.h. |
|
Definition at line 67 of file OgreColourValue.h. Referenced by operator *(), operator+(), operator+=(), operator-(), operator-=(), and operator/(). |
|
Definition at line 67 of file OgreColourValue.h. Referenced by operator *(), operator+(), operator+=(), operator-(), operator-=(), and operator/(). |
|
Definition at line 50 of file OgreColourValue.h. |
|
Definition at line 54 of file OgreColourValue.h. |
|
Definition at line 67 of file OgreColourValue.h. Referenced by operator *(), operator+(), operator+=(), operator-(), operator-=(), and operator/(). |
|
Definition at line 53 of file OgreColourValue.h. |
|
Definition at line 67 of file OgreColourValue.h. Referenced by operator *(), operator+(), operator+=(), operator-(), operator-=(), and operator/(). |
|
Definition at line 52 of file OgreColourValue.h. |
|
Definition at line 69 of file OgreColourValue.h. |
|
Definition at line 51 of file OgreColourValue.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:00:16 2006