PixelLightAPI
.
|
This is a manager for the mesh animation element. More...
#include <MeshAnimationManager.h>
Public Member Functions | |
PLMESH_API | MeshAnimationManager () |
Default constructor. | |
virtual PLMESH_API | ~MeshAnimationManager () |
Destructor. | |
virtual PLMESH_API bool | Update (float fTimeDifference) |
Updates the mesh animation manager. | |
virtual PLMESH_API bool | Apply (MeshHandler &cMeshHandler) const |
Applies all animations to the given mesh handler. |
This is a manager for the mesh animation element.
PLMESH_API PLMesh::MeshAnimationManager::MeshAnimationManager | ( | ) |
Default constructor.
virtual PLMESH_API PLMesh::MeshAnimationManager::~MeshAnimationManager | ( | ) | [virtual] |
Destructor.
virtual PLMESH_API bool PLMesh::MeshAnimationManager::Update | ( | float | fTimeDifference | ) | [virtual] |
Updates the mesh animation manager.
[in] | fTimeDifference | Past time since last frame (use e.g. PLCore::Timing::GetInstance()->GetTimeDifference()) |
virtual PLMESH_API bool PLMesh::MeshAnimationManager::Apply | ( | MeshHandler & | cMeshHandler | ) | const [virtual] |
Applies all animations to the given mesh handler.
[in] | cMeshHandler | Mesh handler to apply the animations on |
Reimplemented in PLMesh::MeshAnimationManagerHardware, and PLMesh::MeshAnimationManagerSoftware.
|