Public Member Functions | Static Public Attributes | Protected Attributes | Friends

MeshRenderer Class Reference

Inheritance diagram for MeshRenderer:
Renderable Component Object CubeMeshRenderer PlaneMeshRenderer SphereMeshRenderer

List of all members.

Public Member Functions

virtual const RTTIgetType () const
 MeshRenderer (BasicShapeEnum shape)
virtual void render () const
void setMaterial (Material *)
MaterialgetMaterial ()
void setMesh (TR3D::TriMesh *Mesh)
TR3D::TriMeshgetMesh ()
bool castShadow () const
bool receiveShadow () const
void setCastShadow (bool cast)
void setReceiveShadow (bool receive)

Static Public Attributes

static const RTTI TYPE

Protected Attributes

int nbOfVertices
Vec3f * vertices
Vec3f * normals
TR3D::TriMeshmesh
bool _castShadow
bool _receiveShadow

Friends

class boost::serialization::access

The documentation for this class was generated from the following files:
 All Classes Functions Variables