Pyrogenesis
13997
|
#include <SkeletonAnimDef.h>
Public Types | |
enum | { FILE_VERSION = 1 } |
enum | { FILE_READ_VERSION = 1 } |
typedef CBoneState | Key |
Public Member Functions | |
CSkeletonAnimDef () | |
~CSkeletonAnimDef () | |
size_t | GetNumKeys () const |
Key & | GetKey (size_t frame, size_t bone) |
const Key & | GetKey (size_t frame, size_t bone) const |
float | GetDuration () const |
float | GetFrameTime () const |
size_t | GetNumFrames () const |
void | BuildBoneMatrices (float time, CMatrix3D *matrices, bool loop) const |
Static Public Member Functions | |
static CSkeletonAnimDef * | Load (const VfsPath &filename) |
static void | Save (const VfsPath &pathname, const CSkeletonAnimDef *anim) |
Public Attributes | |
float | m_FrameTime |
size_t | m_NumKeys |
size_t | m_NumFrames |
Key * | m_Keys |
Definition at line 44 of file SkeletonAnimDef.h.
typedef CBoneState CSkeletonAnimDef::Key |
Definition at line 55 of file SkeletonAnimDef.h.
anonymous enum |
Enumerator | |
---|---|
FILE_VERSION |
Definition at line 48 of file SkeletonAnimDef.h.
anonymous enum |
Enumerator | |
---|---|
FILE_READ_VERSION |
Definition at line 50 of file SkeletonAnimDef.h.
CSkeletonAnimDef::CSkeletonAnimDef | ( | ) |
Definition at line 31 of file SkeletonAnimDef.cpp.
CSkeletonAnimDef::~CSkeletonAnimDef | ( | ) |
Definition at line 37 of file SkeletonAnimDef.cpp.
void CSkeletonAnimDef::BuildBoneMatrices | ( | float | time, |
CMatrix3D * | matrices, | ||
bool | loop | ||
) | const |
Definition at line 45 of file SkeletonAnimDef.cpp.
|
inline |
Definition at line 70 of file SkeletonAnimDef.h.
|
inline |
Definition at line 73 of file SkeletonAnimDef.h.
|
inline |
Definition at line 66 of file SkeletonAnimDef.h.
|
inline |
Definition at line 67 of file SkeletonAnimDef.h.
|
inline |
Definition at line 75 of file SkeletonAnimDef.h.
|
inline |
Definition at line 63 of file SkeletonAnimDef.h.
|
static |
Definition at line 90 of file SkeletonAnimDef.cpp.
|
static |
Definition at line 120 of file SkeletonAnimDef.cpp.
float CSkeletonAnimDef::m_FrameTime |
Definition at line 86 of file SkeletonAnimDef.h.
Key* CSkeletonAnimDef::m_Keys |
Definition at line 92 of file SkeletonAnimDef.h.
size_t CSkeletonAnimDef::m_NumFrames |
Definition at line 90 of file SkeletonAnimDef.h.
size_t CSkeletonAnimDef::m_NumKeys |
Definition at line 88 of file SkeletonAnimDef.h.