Aether3D Game Engine
Public Member Functions | Friends | List of all members
ae3d::MeshRendererComponent Class Reference

Contains a Mesh. More...

#include <MeshRendererComponent.hpp>

Public Member Functions

class GameObjectGetGameObject () const
 
class MeshGetMesh ()
 
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 GameObject* ae3d::MeshRendererComponent::GetGameObject ( ) const
inline
Returns
GameObject that owns this component.
class Mesh* ae3d::MeshRendererComponent::GetMesh ( )
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: