#include <MercuryLoadableModel.h>
Inheritance diagram for MercuryLoadableModel:


Public Member Functions | |
| virtual void | Update (const float dTime) |
| [internal] Update (call this update last when abstracting because Update can destroy the object) | |
| void | SetAnimationState (const MVector< LoadableModelAnimationInfo > &AnimationInfos) |
| Set the current animation state, applying all AnimationInfo's in the vector. | |
| LoadableModelAnimationInfo & | GetAnimationState (int iPlace) |
| Retrieve a reference to a single animation state, for manipulation. | |
| void | GetAllAnimationStates (MVector< LoadableModelAnimationInfo > &AnimationInfos) |
| Retrieve all animation states into a vector. | |
| CLASS_RTTI (MercuryLoadableModel, MercuryModel) | |
Private Member Functions | |
| virtual void | LoadModel () |
| bool | LoadMesh (int iMesh) |
| void | LoadBone (int iBone) |
| void | LoadAnimation (int iAnimation) |
| void | LoadMaterial (int iMaterial) |
| void | ResetBoneMatrix (int iBone) |
| void | MakeBoneMatrix (int iBone, const MercuryPoint &Pos, const MQuaternion &Rot) |
Private Attributes | |
| MVector< MLBone > | m_vBones |
| MVector< LoadableModelAnimationInfo > | m_vAnimationInfos |
| MVector< int > | m_vMeshMaterialAssignments |
| MVector< MercuryShape * > | m_vVisualJoints |
Classes | |
| struct | LoadableModelAnimationInfo |
| Public Animation Information. More... | |
| struct | MLAnimationKey |
| struct | MLBone |
| struct | MLBoneAnimation |
| struct | MLQVert |
Definition at line 8 of file MercuryLoadableModel.h.
| void MercuryLoadableModel::Update | ( | const float | dTime | ) | [virtual] |
[internal] Update (call this update last when abstracting because Update can destroy the object)
Reimplemented from MercuryObject.
Reimplemented in MercurySkyBox.
Definition at line 7 of file MercuryLoadableModel.cpp.
| void MercuryLoadableModel::SetAnimationState | ( | const MVector< LoadableModelAnimationInfo > & | AnimationInfos | ) | [inline] |
Set the current animation state, applying all AnimationInfo's in the vector.
Definition at line 27 of file MercuryLoadableModel.h.
| LoadableModelAnimationInfo& MercuryLoadableModel::GetAnimationState | ( | int | iPlace | ) | [inline] |
Retrieve a reference to a single animation state, for manipulation.
Definition at line 30 of file MercuryLoadableModel.h.
| void MercuryLoadableModel::GetAllAnimationStates | ( | MVector< LoadableModelAnimationInfo > & | AnimationInfos | ) | [inline] |
| MercuryLoadableModel::CLASS_RTTI | ( | MercuryLoadableModel | , | |
| MercuryModel | ||||
| ) |
| void MercuryLoadableModel::LoadModel | ( | ) | [private, virtual] |
| bool MercuryLoadableModel::LoadMesh | ( | int | iMesh | ) | [private] |
Definition at line 230 of file MercuryLoadableModel.cpp.
| void MercuryLoadableModel::LoadBone | ( | int | iBone | ) | [private] |
Definition at line 331 of file MercuryLoadableModel.cpp.
| void MercuryLoadableModel::LoadAnimation | ( | int | iAnimation | ) | [private] |
Definition at line 391 of file MercuryLoadableModel.cpp.
| void MercuryLoadableModel::LoadMaterial | ( | int | iMaterial | ) | [private] |
Definition at line 440 of file MercuryLoadableModel.cpp.
| void MercuryLoadableModel::ResetBoneMatrix | ( | int | iBone | ) | [private] |
Definition at line 459 of file MercuryLoadableModel.cpp.
| void MercuryLoadableModel::MakeBoneMatrix | ( | int | iBone, | |
| const MercuryPoint & | Pos, | |||
| const MQuaternion & | Rot | |||
| ) | [private] |
Definition at line 478 of file MercuryLoadableModel.cpp.
MVector< MLBone > MercuryLoadableModel::m_vBones [private] |
Definition at line 79 of file MercuryLoadableModel.h.
Definition at line 80 of file MercuryLoadableModel.h.
MVector< int > MercuryLoadableModel::m_vMeshMaterialAssignments [private] |
Definition at line 82 of file MercuryLoadableModel.h.
MVector< MercuryShape * > MercuryLoadableModel::m_vVisualJoints [private] |
Definition at line 89 of file MercuryLoadableModel.h.