My Project
Public Member Functions | Protected Attributes | Friends | List of all members
ParaEngine::CMultiAnim Class Reference

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 ()
 
CAnimInstanceGetInstance (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
 
Matrix4m_amxWorkingPalette
 
vector< CAnimInstance *> m_v_pAnimInstances
 
MultiAnimFramem_pFrameRoot
 
LPD3DXANIMATIONCONTROLLER m_pAC
 
float m_fBoundingRadius
 

Friends

class CMultiAnimAllocateHierarchy
 
class CAnimInstance
 
struct MultiAnimFrame
 
struct MultiAnimMC
 

Detailed Description

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.


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