3#include "Resources/Resources.h"
5#include "Foundation/ComponentModel/Component.h"
32 static void registerType();
37template<>
inline Cogs::StringView getName<Cogs::Core::AnimationComponent>() {
return "AnimationComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
Handle to a Component instance.
Component handling animation of multiple Poses of an Animation Resource.
float timeOffset
Animation time offset in seconds.
int clipIndex
Active index of the Animation Clips. -1 = freeze Animation.
AnimationHandle animation
Animation resource handle.
ComponentModel::ComponentHandle master
Internal handle of Master when animating. Handled by AnimationSystem.
float timeFactor
Animation Time Scale factor.