#include <Mesh.h>
Public Member Functions | |
Mesh () | |
virtual | ~Mesh () |
void | load (const String &filename) |
void | draw (render::Render *pRender) |
void | setMeshAlphaProperty (const AlphaProperty &alphaProperty) |
void | setMeshMaterialProperty (const MaterialProperty &materialProperty) |
const AlphaProperty & | getMeshAlphaProperty () |
const MaterialProperty & | getMeshMaterialProperty () |
const char * | toString () |
scene::Mesh::Mesh | ( | ) |
Constructor
virtual scene::Mesh::~Mesh | ( | ) | [virtual] |
Destructor
void scene::Mesh::load | ( | const String & | filename | ) |
Load the mesh file (AKG file)
filename | The filename |
void scene::Mesh::draw | ( | render::Render * | pRender | ) |
void scene::Mesh::setMeshAlphaProperty | ( | const AlphaProperty & | alphaProperty | ) |
Set the mesh alpha property
alphaProperty | The alpha property |
void scene::Mesh::setMeshMaterialProperty | ( | const MaterialProperty & | materialProperty | ) |
Set the mesh material property
materialProperty | The material property |
const AlphaProperty& scene::Mesh::getMeshAlphaProperty | ( | ) |
Get alpha property
const MaterialProperty& scene::Mesh::getMeshMaterialProperty | ( | ) |
Get material property
const char* scene::Mesh::toString | ( | ) | [inline, virtual] |