Radium Engine  1.5.0
Ra::Engine::Scene::SkeletonBasedAnimationSystem Class Reference

#include <Engine/Scene/SkeletonBasedAnimationSystem.hpp>

+ Inheritance diagram for Ra::Engine::Scene::SkeletonBasedAnimationSystem:
+ Collaboration diagram for Ra::Engine::Scene::SkeletonBasedAnimationSystem:

Public Member Functions

 SkeletonBasedAnimationSystem ()
 Create a new animation system.
 
 SkeletonBasedAnimationSystem (const SkeletonBasedAnimationSystem &)=delete
 
SkeletonBasedAnimationSystemoperator= (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.
 

Detailed Description

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.


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