3#include <Core/Animation/KeyFramedValue.hpp>
4#include <Core/Asset/AnimationTime.hpp>
5#include <Core/Asset/AssetData.hpp>
6#include <Core/RaCore.hpp>
7#include <Core/Utils/Log.hpp>
95 inline void displayInfo()
const;
109 const uint size = frameList.
size();
111#pragma omp parallel for
112 for (
int i = 0; i < int( size ); ++i ) {
118 using namespace Core::Utils;
119 LOG( logDEBUG ) <<
"======== ANIMATION INFO ========";
120 LOG( logDEBUG ) <<
" Name : " << m_name;
123 LOG( logDEBUG ) <<
" Time Step : " <<
m_dt;
124 LOG( logDEBUG ) <<
" Animated Object # : " <<
m_keyFrame.size();
void setHandleData(const std::vector< HandleAnimation > &frameList)
AnimationTime m_time
The AnimationTime for the object.
std::vector< HandleAnimation > m_keyFrame
The animation frames.
AnimationTime::Time getTimeStep() const
uint getFramesSize() const
AnimationTime::Time m_dt
The animation timestep.
std::vector< HandleAnimation > getHandleData() const
const AnimationTime & getTime() const
void setName(const std::string &name)
void setTimeStep(const AnimationTime::Time &delta)
void setTime(const AnimationTime &time)
hepler function to manage enum as underlying types in VariableSet
std::string m_name
The Handle's name.
AnimationTime m_animationTime
The AnimationTime for the Handle.
Core::Animation::KeyFramedValue< Transform > m_anim
The list of KeyFramed transforms applied to the Handle.