Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

amn::SColor Class Reference

#include <SMaterial.h>

List of all members.

Public Member Functions

 SColor ()
 Constructor, initializes color to black.
 SColor (int a, int r, int g, int b)
 Constructor.
 SColor (const SColor &copy)
 Copy Constructor.
void set (int a, int r, int g, int b)
 Sets color to given values.
unsigned char getAlpha ()
 Returns alpha.
unsigned char getRed ()
 Returns red.
unsigned char getBlue ()
 Returns blue.
unsigned char getGreen ()
 Returns green.
int getIntegerColor ()
 Returns color in integer format. Ex: 0xAARRGGBB.


Constructor & Destructor Documentation

amn::SColor::SColor  )  [inline]
 

Constructor, initializes color to black.

amn::SColor::SColor int  a,
int  r,
int  g,
int  b
[inline]
 

Constructor.

amn::SColor::SColor const SColor copy  )  [inline]
 

Copy Constructor.


Member Function Documentation

unsigned char amn::SColor::getAlpha  )  [inline]
 

Returns alpha.

unsigned char amn::SColor::getBlue  )  [inline]
 

Returns blue.

unsigned char amn::SColor::getGreen  )  [inline]
 

Returns green.

int amn::SColor::getIntegerColor  )  [inline]
 

Returns color in integer format. Ex: 0xAARRGGBB.

unsigned char amn::SColor::getRed  )  [inline]
 

Returns red.

void amn::SColor::set int  a,
int  r,
int  g,
int  b
[inline]
 

Sets color to given values.


The documentation for this class was generated from the following file:
Generated on Wed Feb 1 22:23:26 2006 for AmnesiaEngine by  doxygen 1.4.2