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

#include <Animation.h>

Public Member Functions

 Animation ()
 Constructor.
 ~Animation ()
 Destructor.
float GetTotalAnimationTime ()
AnimationDataGetAnimation (u32 index)
float GetFPS ()

Protected Attributes

AnimationDatam_pAnis
float m_fFPS
 The Animation Datas array.
float m_fTotalTime
 The frames per second for animation.
int m_iFramesCount
 The total animation time.
int m_iAnimationCount
 The frames count.

Friends

class MS3DLoader
MeshBuffer * LoadAnimatedMesh (const char *filename, Renderer *renderer, sn::SceneManager *sceneManager)
void SaveAnimatedMesh (MeshBuffer *meshBuffer)

Detailed Description

Definition at line 59 of file Animation.h.

Constructor & Destructor Documentation

kge::gfx::Animation::Animation ( )
inline

Constructor.

Definition at line 68 of file Animation.h.

kge::gfx::Animation::~Animation ( )

Destructor.

Member Function Documentation

AnimationData* kge::gfx::Animation::GetAnimation ( u32  index)
inline

Definition at line 75 of file Animation.h.

References m_pAnis.

float kge::gfx::Animation::GetFPS ( )
inline

Definition at line 77 of file Animation.h.

References m_fFPS.

float kge::gfx::Animation::GetTotalAnimationTime ( )
inline

Definition at line 73 of file Animation.h.

References m_fTotalTime.

Friends And Related Function Documentation

MeshBuffer* LoadAnimatedMesh ( const char *  filename,
Renderer renderer,
sn::SceneManager sceneManager 
)
friend
friend class MS3DLoader
friend

Definition at line 61 of file Animation.h.

void SaveAnimatedMesh ( MeshBuffer *  meshBuffer)
friend

Member Data Documentation

float kge::gfx::Animation::m_fFPS
protected

The Animation Datas array.

Definition at line 83 of file Animation.h.

Referenced by GetFPS().

float kge::gfx::Animation::m_fTotalTime
protected

The frames per second for animation.

Definition at line 83 of file Animation.h.

Referenced by GetTotalAnimationTime().

int kge::gfx::Animation::m_iAnimationCount
protected

The frames count.

Definition at line 87 of file Animation.h.

int kge::gfx::Animation::m_iFramesCount
protected

The total animation time.

Definition at line 86 of file Animation.h.

AnimationData* kge::gfx::Animation::m_pAnis
protected

Definition at line 81 of file Animation.h.

Referenced by GetAnimation().


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