scene::MaterialProperty Class Reference

This is the Material property class. More...

#include <MaterialProperty.h>

Inheritance diagram for scene::MaterialProperty:

Inheritance graph
[legend]
Collaboration diagram for scene::MaterialProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MaterialProperty ()
virtual ~MaterialProperty ()
void setEmissive (ColorRGBA &emissive)
void setAmbient (ColorRGBA &ambient)
void setDiffuse (ColorRGBA &diffuse)
void setSpecular (ColorRGBA &specular)
void setShininess (float32 shininess)
void setAlphaValue (float32 value)
const ColorRGBAgetEmissive ()
const ColorRGBAgetAmbient ()
const ColorRGBAgetDiffuse ()
const ColorRGBAgetSpecular ()
float32 getShininess ()
float32 getAlphaValue ()
const char * toString ()


Detailed Description

This is the Material property class.

Constructor & Destructor Documentation

scene::MaterialProperty::MaterialProperty (  ) 

Constructor

virtual scene::MaterialProperty::~MaterialProperty (  )  [inline, virtual]

Destructor


Member Function Documentation

void scene::MaterialProperty::setEmissive ( ColorRGBA emissive  ) 

Set the emissive material

Parameters:
emissive The color value

void scene::MaterialProperty::setAmbient ( ColorRGBA ambient  ) 

Set the ambient material

Parameters:
ambient The color value

void scene::MaterialProperty::setDiffuse ( ColorRGBA diffuse  ) 

Set the diffuse material

Parameters:
diffuse The color value

void scene::MaterialProperty::setSpecular ( ColorRGBA specular  ) 

Set the specular material

Parameters:
specular The color value

void scene::MaterialProperty::setShininess ( float32  shininess  ) 

Set the shininess material

Parameters:
shininess The color value

void scene::MaterialProperty::setAlphaValue ( float32  value  ) 

Set the alpha value

Parameters:
value The alpha value

const ColorRGBA& scene::MaterialProperty::getEmissive (  ) 

Get the emissive material

Returns:
The material

const ColorRGBA& scene::MaterialProperty::getAmbient (  ) 

Get the ambient material

Returns:
The material

const ColorRGBA& scene::MaterialProperty::getDiffuse (  ) 

Get the diffuse material

Returns:
The material

const ColorRGBA& scene::MaterialProperty::getSpecular (  ) 

Get the specular material

Returns:
The material

float32 scene::MaterialProperty::getShininess (  ) 

Get the shininess material

Returns:
The material

float32 scene::MaterialProperty::getAlphaValue (  ) 

Get the alpha value

Returns:
The material

const char* scene::MaterialProperty::toString (  )  [inline, virtual]

See also:
Object::toString()

Reimplemented from scene::Property.


The documentation for this class was generated from the following file:

Generated on Mon Mar 3 10:53:10 2008 for Aika by  doxygen 1.5.5