scene::Mesh Class Reference

This is the Mesh class. More...

#include <Mesh.h>

Inheritance diagram for scene::Mesh:

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

Collaboration graph
[legend]

List of all members.

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 AlphaPropertygetMeshAlphaProperty ()
const MaterialPropertygetMeshMaterialProperty ()
const char * toString ()


Detailed Description

This is the Mesh class.

Constructor & Destructor Documentation

scene::Mesh::Mesh (  ) 

Constructor

virtual scene::Mesh::~Mesh (  )  [virtual]

Destructor


Member Function Documentation

void scene::Mesh::load ( const String filename  ) 

Load the mesh file (AKG file)

Parameters:
filename The filename

void scene::Mesh::draw ( render::Render pRender  ) 

Draw the mesh data

Parameters:
pRender The render instance

void scene::Mesh::setMeshAlphaProperty ( const AlphaProperty alphaProperty  ) 

Set the mesh alpha property

Parameters:
alphaProperty The alpha property

void scene::Mesh::setMeshMaterialProperty ( const MaterialProperty materialProperty  ) 

Set the mesh material property

Parameters:
materialProperty The material property

const AlphaProperty& scene::Mesh::getMeshAlphaProperty (  ) 

Get alpha property

Returns:
The alha property

const MaterialProperty& scene::Mesh::getMeshMaterialProperty (  ) 

Get material property

Returns:
The material property

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

See also:
Object::toString()

Reimplemented from scene::Transformation.


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