Radium Engine
1.5.0
|
#include <Engine/Scene/SkeletonBasedAnimationSystem.hpp>
Public Member Functions | |
SkeletonBasedAnimationSystem () | |
Create a new animation system. | |
SkeletonBasedAnimationSystem (const SkeletonBasedAnimationSystem &)=delete | |
SkeletonBasedAnimationSystem & | operator= (const SkeletonBasedAnimationSystem &)=delete |
void | enforceUpdate () |
Enforce Skeleton update at the next frame. | |
System Interface | |
void | generateTasks (Core::TaskQueue *taskQueue, const FrameInfo &frameInfo) override |
Creates a task for each AnimationComponent to update skeleton display. | |
void | handleAssetLoading (Entity *entity, const Core::Asset::FileData *fileData) override |
Loads Skeletons and Animations from a file data into the givn Entity. | |
Skeleton display | |
void | setXray (bool on) |
Sets bone display xray mode to on for all AnimationComponents. | |
bool | isXrayOn () |
Returns true if bone display xray mode on, false otherwise. | |
void | toggleSkeleton (const bool status) |
Toggles skeleton display for all AnimationComponents. | |
Public Member Functions inherited from Ra::Engine::Scene::System | |
std::vector< Component * > | getEntityComponents (const Entity *entity) |
void | addComponent (Entity *entity, Component *component) |
Additional Inherited Members | |
Protected Member Functions inherited from Ra::Engine::Scene::System | |
virtual void | registerComponent (const Entity *entity, Component *component) |
virtual void | unregisterComponent (const Entity *entity, Component *component) |
virtual void | unregisterAllComponents (const Entity *entity) |
Protected Attributes inherited from Ra::Engine::Scene::System | |
std::vector< std::pair< const Entity *, Component * > > | m_components |
List of active components. | |
The SkeletonBasedAnimationSystem manages both SkeletonComponents and SkinningComponents. It is also responsible for transmitting calls to/from animation-related processes.
Definition at line 14 of file SkeletonBasedAnimationSystem.hpp.