Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::gfx::AnimationData Struct Reference

#include <Animation.h>

Public Member Functions

 AnimationData ()
 ~AnimationData ()
int GetTransKey (float fTime)
int GetRotateKey (float fTime)

Public Attributes

KeyFramem_pRotKeys
KeyFramem_pTransKeys
 Rotation Key Frames.
u16 m_iNumTransKeys
 Translation Key Frames.
u16 m_iNumRotKeys
 The count of Translation Key Frames.

Detailed Description

Definition at line 27 of file Animation.h.

Constructor & Destructor Documentation

kge::gfx::AnimationData::AnimationData ( )
inline

Definition at line 29 of file Animation.h.

kge::gfx::AnimationData::~AnimationData ( )
inline

Definition at line 32 of file Animation.h.

References KGE_DELETE_ARRAY, m_pRotKeys, and m_pTransKeys.

Member Function Documentation

int kge::gfx::AnimationData::GetRotateKey ( float  fTime)
inline

Definition at line 43 of file Animation.h.

References kge::gfx::GetKey(), m_iNumRotKeys, and m_pRotKeys.

int kge::gfx::AnimationData::GetTransKey ( float  fTime)
inline

Definition at line 38 of file Animation.h.

References kge::gfx::GetKey(), m_iNumTransKeys, and m_pTransKeys.

Member Data Documentation

u16 kge::gfx::AnimationData::m_iNumRotKeys

The count of Translation Key Frames.

Definition at line 51 of file Animation.h.

Referenced by GetRotateKey().

u16 kge::gfx::AnimationData::m_iNumTransKeys

Translation Key Frames.

Definition at line 51 of file Animation.h.

Referenced by GetTransKey().

KeyFrame* kge::gfx::AnimationData::m_pRotKeys

Definition at line 48 of file Animation.h.

Referenced by GetRotateKey(), and ~AnimationData().

KeyFrame * kge::gfx::AnimationData::m_pTransKeys

Rotation Key Frames.

Definition at line 48 of file Animation.h.

Referenced by GetTransKey(), and ~AnimationData().


The documentation for this struct was generated from the following file: