ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::MeshComponent Class Reference

#include <mesh_component.h>

Inheritance diagram for Grim::MeshComponent:
Collaboration diagram for Grim::MeshComponent:

List of all members.

Public Member Functions

 MeshComponent (Component *parent, int parentID, const char *name, tag32 tag)
void init () override
CMapcmap ()
void setKey (int val) override
int update (uint time) override
void reset () override
void saveState (SaveGame *state) override
void restoreState (SaveGame *state) override
void setMatrix (const Math::Matrix4 &matrix) override
ModelNodegetNode ()
ModelgetModel ()

Private Attributes

int _num
Model_model
ModelNode_node
Math::Matrix4 _matrix

Detailed Description

Definition at line 34 of file mesh_component.h.


Constructor & Destructor Documentation

Grim::MeshComponent::MeshComponent ( Component parent,
int  parentID,
const char *  name,
tag32  tag 
)

Definition at line 33 of file mesh_component.cpp.


Member Function Documentation

CMap * Grim::MeshComponent::cmap (  ) 

Definition at line 53 of file mesh_component.cpp.

Model* Grim::MeshComponent::getModel (  )  [inline]

Definition at line 48 of file mesh_component.h.

ModelNode* Grim::MeshComponent::getNode (  )  [inline]

Definition at line 47 of file mesh_component.h.

void Grim::MeshComponent::init (  )  [override, virtual]

Reimplemented from Grim::Component.

Definition at line 40 of file mesh_component.cpp.

void Grim::MeshComponent::reset (  )  [override, virtual]

Reimplemented from Grim::Component.

Definition at line 66 of file mesh_component.cpp.

void Grim::MeshComponent::restoreState ( SaveGame state  )  [override, virtual]

Reimplemented from Grim::Component.

Definition at line 84 of file mesh_component.cpp.

void Grim::MeshComponent::saveState ( SaveGame state  )  [override, virtual]

Reimplemented from Grim::Component.

Definition at line 79 of file mesh_component.cpp.

void Grim::MeshComponent::setKey ( int  val  )  [override, virtual]

Reimplemented from Grim::Component.

Definition at line 62 of file mesh_component.cpp.

void Grim::MeshComponent::setMatrix ( const Math::Matrix4 matrix  )  [inline, override, virtual]

Reimplemented from Grim::Component.

Definition at line 45 of file mesh_component.h.

int Grim::MeshComponent::update ( uint  time  )  [override, virtual]

Reimplemented from Grim::Component.

Definition at line 74 of file mesh_component.cpp.


Member Data Documentation

Definition at line 54 of file mesh_component.h.

Definition at line 52 of file mesh_component.h.

Definition at line 53 of file mesh_component.h.

Definition at line 51 of file mesh_component.h.


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


Generated on Sat Mar 16 2019 05:05:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge