|
My Project
|
This class encapsulates a mesh hierarchy (typically loaded from an .X file). More...
#include <XFileMultiAnim.h>
Public Member Functions | |
| virtual HRESULT | Setup (LPDIRECT3DDEVICE9 pDevice, TCHAR sXFile[], TCHAR sFxFile[], CMultiAnimAllocateHierarchy *pAH, LPD3DXLOADUSERDATA pLUD=NULL) |
| virtual HRESULT | Cleanup (CMultiAnimAllocateHierarchy *pAH) |
| LPDIRECT3DDEVICE9 | GetDevice () |
| LPD3DXEFFECT | GetEffect () |
| DWORD | GetNumInstances () |
| CAnimInstance * | GetInstance (DWORD dwIdx) |
| float | GetBoundingRadius () |
| virtual HRESULT | CreateNewInstance (DWORD *pdwNewIdx) |
| virtual void | SetTechnique (char *sTechnique) |
| virtual void | SetSWVP (bool bSWVP) |
| virtual HRESULT | Draw () |
Protected Attributes | |
| LPDIRECT3DDEVICE9 | m_pDevice |
| LPD3DXEFFECT | m_pEffect |
| char * | m_sTechnique |
| bool | m_bSWVP |
| DWORD | m_dwWorkingPaletteSize |
| Matrix4 * | m_amxWorkingPalette |
| vector< CAnimInstance *> | m_v_pAnimInstances |
| MultiAnimFrame * | m_pFrameRoot |
| LPD3DXANIMATIONCONTROLLER | m_pAC |
| float | m_fBoundingRadius |
Friends | |
| class | CMultiAnimAllocateHierarchy |
| class | CAnimInstance |
| struct | MultiAnimFrame |
| struct | MultiAnimMC |
This class encapsulates a mesh hierarchy (typically loaded from an .X file).
It has a list of CAnimInstance objects that all share the mesh hierarchy here, as well as using a copy of our animation controller. CMultiAnim loads and keeps an effect object that it renders the meshes with.
1.8.12