#include <glfxscene.h>
Inheritance diagram for GLFX::Scene::MeshNode:
Public Member Functions | |
MeshNode (const MeshNode &node) | |
virtual Node * | Clone () |
virtual int | GetType () |
void | SetMesh (IMesh *m) |
IMesh * | GetMesh () const |
void | SetMaterialCount (int num) |
int | GetMaterialCount () const |
void | SetMaterial (int num, Material *material) |
Material * | GetMaterial (int num) const |
GLFX::Scene::MeshNode::MeshNode | ( | const MeshNode & | node | ) | [inline] |
Construct mesh node from another one.
virtual Node* GLFX::Scene::MeshNode::Clone | ( | ) | [inline, virtual] |
virtual int GLFX::Scene::MeshNode::GetType | ( | ) | [inline, virtual] |
void GLFX::Scene::MeshNode::SetMesh | ( | IMesh * | m | ) | [inline] |
Sets node mesh.
IMesh* GLFX::Scene::MeshNode::GetMesh | ( | ) | const [inline] |
Gets node mesh.
void GLFX::Scene::MeshNode::SetMaterialCount | ( | int | num | ) | [inline] |
Sets material count.
int GLFX::Scene::MeshNode::GetMaterialCount | ( | ) | const [inline] |
Gets material count.
void GLFX::Scene::MeshNode::SetMaterial | ( | int | num, | |
Material * | material | |||
) | [inline] |
Sets material.
Material* GLFX::Scene::MeshNode::GetMaterial | ( | int | num | ) | const [inline] |
Gets material.