Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Handles storage and playback of animations. More...
#include <foray_animationmanager.hpp>
Public Member Functions | |
virtual void | Update (SceneUpdateInfo &) override |
virtual int32_t | GetOrder () const override |
![]() | |
virtual Scene * | GetScene () override |
Scene this component is a part of. Casts mRegistry to Scene. | |
virtual Registry * | GetGlobals () override |
Global component registry. Returns mRegistry. | |
virtual core::Context * | GetContext () override |
Vulkan Context. Casts mRegistry to Scene and returns Scene->GetContext() | |
![]() | |
virtual | ~Component () |
Destructor. Provide virtual constructors in inheriting classes, to make sure they get finalized correctly. | |
![]() | |
NoMoveDefaults ()=default | |
NoMoveDefaults (const NoMoveDefaults &other)=delete | |
NoMoveDefaults (NoMoveDefaults &&other)=default | |
NoMoveDefaults & | operator= (const NoMoveDefaults &other)=delete |
![]() | |
virtual void | Update (TArg updateInfo)=0 |
Invoked first each frame. Use for changes to the node hierarchy and transforms. | |
void | Invoke (TArg updateInfo) |
Protected Attributes | |
std::vector< Animation > | mAnimations |
PlaybackConfig | mPlaybackConfig |
![]() | |
Registry * | mRegistry = nullptr |
std::string | mName = "" |
Additional Inherited Members | |
![]() | |
using | TArg = SceneUpdateInfo & |
![]() | |
friend | Registry |
![]() | |
static const bool | ORDERED_EXECUTION = true |
static const int32_t | ORDER_TRANSFORM = 100 |
static const int32_t | ORDER_DEVICEUPLOAD = 200 |
![]() | |
virtual void | __makeMePolymorphic () |
Handles storage and playback of animations.
|
inlineoverridevirtual |
Reimplemented from foray::scene::Component::UpdateCallback.
|
overridevirtual |
|
protected |
|
protected |