#include <MaterialProperty.h>
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 ColorRGBA & | getEmissive () |
const ColorRGBA & | getAmbient () |
const ColorRGBA & | getDiffuse () |
const ColorRGBA & | getSpecular () |
float32 | getShininess () |
float32 | getAlphaValue () |
const char * | toString () |
scene::MaterialProperty::MaterialProperty | ( | ) |
Constructor
virtual scene::MaterialProperty::~MaterialProperty | ( | ) | [inline, virtual] |
Destructor
void scene::MaterialProperty::setEmissive | ( | ColorRGBA & | emissive | ) |
Set the emissive material
emissive | The color value |
void scene::MaterialProperty::setAmbient | ( | ColorRGBA & | ambient | ) |
Set the ambient material
ambient | The color value |
void scene::MaterialProperty::setDiffuse | ( | ColorRGBA & | diffuse | ) |
Set the diffuse material
diffuse | The color value |
void scene::MaterialProperty::setSpecular | ( | ColorRGBA & | specular | ) |
Set the specular material
specular | The color value |
void scene::MaterialProperty::setShininess | ( | float32 | shininess | ) |
Set the shininess material
shininess | The color value |
void scene::MaterialProperty::setAlphaValue | ( | float32 | value | ) |
Set the alpha value
value | The alpha value |
const ColorRGBA& scene::MaterialProperty::getEmissive | ( | ) |
Get the emissive material
const ColorRGBA& scene::MaterialProperty::getAmbient | ( | ) |
Get the ambient material
const ColorRGBA& scene::MaterialProperty::getDiffuse | ( | ) |
Get the diffuse material
const ColorRGBA& scene::MaterialProperty::getSpecular | ( | ) |
Get the specular material
float32 scene::MaterialProperty::getShininess | ( | ) |
Get the shininess material
float32 scene::MaterialProperty::getAlphaValue | ( | ) |
Get the alpha value
const char* scene::MaterialProperty::toString | ( | ) | [inline, virtual] |