Aether3D Game Engine
All Classes Namespaces Functions Variables Enumerations Pages
Public Member Functions | Friends | List of all members
ae3d::MeshRendererComponent Class Reference

Contains a mesh. More...

#include <MeshRendererComponent.hpp>

Public Member Functions

class MeshGetMesh () const
 
void SetMaterial (class Material *material, int subMeshIndex)
 
void SetMesh (Mesh *aMesh)
 
std::string GetSerialized () const
 

Friends

class GameObject
 
class Scene
 

Detailed Description

Contains a mesh.

Member Function Documentation

class Mesh* ae3d::MeshRendererComponent::GetMesh ( ) const
inline
Returns
Mesh.
std::string ae3d::MeshRendererComponent::GetSerialized ( ) const
Returns
Textual representation of component.
void ae3d::MeshRendererComponent::SetMaterial ( class Material material,
int  subMeshIndex 
)
Parameters
materialMaterial.
subMeshIndexSub mesh index.
void ae3d::MeshRendererComponent::SetMesh ( Mesh aMesh)
Parameters
aMeshMesh.

The documentation for this class was generated from the following file: