#include <KeosAnimatedMeshKF.h>
Inheritance diagram for Keos::CAnimatedMeshKF:

Public Member Functions | |
| CAnimatedMeshKF (std::vector< CMeshGeom::TVertex > Frames) | |
| Default constructor. | |
| ~CAnimatedMeshKF () | |
| Destructor. | |
| void | Animate (float fPercent) |
| Animate and render the mesh. | |
| void | SetAnimation (uint nAnimIndex) |
| Change the current animation. | |
| uint | GetAnimation () |
| Get the index of the curent animation. | |
| void | AddAnimation (const CAnimationInfoKF &AnimationInfo) |
| Add a new animation. | |
| size_t | GetNumberOfAnimations () |
| Return the number of animations. | |
Definition at line 57 of file KeosAnimatedMeshKF.h.
| Keos::CAnimatedMeshKF::CAnimatedMeshKF | ( | std::vector< CMeshGeom::TVertex > | Frames | ) |
Default constructor.
| Frames | List of all the vertex of all frames. |
Definition at line 38 of file KeosAnimatedMeshKF.cpp.
| Keos::CAnimatedMeshKF::~CAnimatedMeshKF | ( | ) |
| void Keos::CAnimatedMeshKF::Animate | ( | float | fPercent | ) |
Animate and render the mesh.
| fPercent | Percentage in the animation. |
Definition at line 95 of file KeosAnimatedMeshKF.cpp.
References Keos::CAnimationInfoKF::Begin, Keos::CAnimationInfoKF::End, and Keos::CMesh::Render().
| void Keos::CAnimatedMeshKF::SetAnimation | ( | uint | nAnimIndex | ) |
Change the current animation.
| nAnimIndex | Index of the new animation. |
Definition at line 55 of file KeosAnimatedMeshKF.cpp.
References Assert, Keos::CAnimationInfoKF::Begin, Keos::CAnimationInfoKF::End, and GetNumberOfAnimations().
| uint Keos::CAnimatedMeshKF::GetAnimation | ( | ) | [inline] |
| void Keos::CAnimatedMeshKF::AddAnimation | ( | const CAnimationInfoKF & | AnimationInfo | ) |
Add a new animation.
| AnimationInfo | Informations on the animation. |
Definition at line 121 of file KeosAnimatedMeshKF.cpp.
Referenced by Keos::CMDLQ1AnimatedLoader::LoadFromFile(), and Keos::CMD2AnimatedLoader::LoadFromFile().
| size_t Keos::CAnimatedMeshKF::GetNumberOfAnimations | ( | ) | [inline] |
Return the number of animations.
Definition at line 94 of file KeosAnimatedMeshKF.h.
Referenced by SetAnimation().
1.5.1-p1