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


Public Member Functions | |
| Model () | |
| virtual | ~Model () |
| void | Clear () |
| void | Load (CString sFile) |
| void | LoadPieces (CString sMeshesPath, CString sMaterialsPath, CString sBomesPath) |
| void | LoadFromModelFile (CString sFile) |
| void | LoadMilkshapeAscii (CString sFile) |
| void | LoadMaterialsFromMilkshapeAscii (CString sPath) |
| bool | LoadMilkshapeAsciiBones (CString sAniName, CString sPath) |
| void | PlayAnimation (CString sAniName, float fPlayRate=1) |
| virtual void | Update (float fDelta) |
| virtual bool | EarlyAbortDraw () |
| virtual void | DrawPrimitives () |
| void | AdvanceFrame (float dt) |
| void | DrawCelShaded () |
| virtual int | GetNumStates () const |
| virtual void | SetState (int iNewState) |
| virtual float | GetAnimationLengthSeconds () const |
| virtual void | SetSecondsIntoAnimation (float fSeconds) |
| CString | GetDefaultAnimation () |
| void | SetDefaultAnimation (CString sAnimation, float fPlayRate=1) |
| bool | MaterialsNeedNormals () const |
| virtual void | PushSelf (lua_State *L) |
Public Attributes | |
| bool | m_bRevertToDefaultAnimation |
Private Member Functions | |
| void | UpdateTempGeometry () |
| void | DrawMesh (int i) const |
Static Private Member Functions | |
| void | SetBones (const msAnimation *pAnimation, float fFrame, vector< myBone_t > &vpBones) |
Private Attributes | |
| RageModelGeometry * | m_pGeometry |
| vector< msMaterial > | m_Materials |
| map< CString, msAnimation > | m_mapNameToAnimation |
| const msAnimation * | m_pCurAnimation |
| vector< myBone_t > | m_vpBones |
| RageCompiledGeometry * | m_pTempGeometry |
| vector< msMesh > | m_vTempMeshes |
| float | m_fCurFrame |
| CString | m_sDefaultAnimation |
| float | m_fDefaultAnimationRate |
| float | m_fCurAnimationRate |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Actor. |
|
|
Reimplemented from Actor. |
|
|
Reimplemented from Actor. |
|
|
|
|
|
Reimplemented from Actor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
Reimplemented from Actor. |
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Reimplemented from Actor. |
|
|
Reimplemented from Actor. |
|
|
Reimplemented from Actor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7