1 #ifndef MESH_RENDERER_COMPONENT 
    2 #define MESH_RENDERER_COMPONENT 
   31         static int Type() { 
return 5; }
 
   34         static unsigned New();
 
   37         static MeshRendererComponent* Get( 
unsigned index );
 
   42         void Render( 
const struct Matrix44& modelViewProjectionMatrix, 
const class Frustum& cameraFrustum, 
const Matrix44& localToWorld, 
class Shader* overrideShader );
 
   45         std::vector< Material* > materials;
 
Material is used to render a mesh. 
Definition: Material.hpp:18
 
std::string GetSerialized() const 
 
Definition: AudioClip.hpp:4
 
Contains a mesh. 
Definition: MeshRendererComponent.hpp:10
 
Contains a mesh. Can contain submeshes. 
Definition: Mesh.hpp:19
 
void SetMaterial(class Material *material, int subMeshIndex)
 
void SetMesh(Mesh *aMesh)
 
class Mesh * GetMesh() const 
Definition: MeshRendererComponent.hpp:14
 
GameObject is composed of components that define its behavior. 
Definition: GameObject.hpp:9
 
Contains game objects in a transform hierarchy. 
Definition: Scene.hpp:16