![]() |
Radium Engine
1.6.3
|
#include <Core/Asset/AnimationData.hpp>
Inheritance diagram for Ra::Core::Asset::AnimationData:
Collaboration diagram for Ra::Core::Asset::AnimationData:Public Member Functions | |
| AnimationData (const std::string &name="") | |
| void | setName (const std::string &name) |
| void | displayInfo () const |
Time | |
| const AnimationTime & | getTime () const |
| void | setTime (const AnimationTime &time) |
| AnimationTime::Time | getTimeStep () const |
| void | setTimeStep (const AnimationTime::Time &delta) |
Keyframes | |
| uint | getFramesSize () const |
| std::vector< HandleAnimation > | getHandleData () const |
| void | setHandleData (const std::vector< HandleAnimation > &frameList) |
Public Member Functions inherited from Ra::Core::Asset::AssetData | |
| AssetData (const std::string &name) | |
| Construct an asset data given its name. | |
| AssetData (const AssetData &other)=default | |
| Copy constructor. Default here. | |
| virtual | ~AssetData () |
| Simple delete operator. | |
| virtual const std::string & | getName () const |
| Acces to the name of the asset. | |
Protected Attributes | |
| AnimationTime | m_time |
| The AnimationTime for the object. | |
| AnimationTime::Time | m_dt { 0 } |
| The animation timestep. | |
| std::vector< HandleAnimation > | m_keyFrame |
| The animation frames. | |
Protected Attributes inherited from Ra::Core::Asset::AssetData | |
| std::string | m_name |
The AnimationData class stores all the HandleAnimation related to an animation of an object, one per animation Handle.
Definition at line 41 of file AnimationData.hpp.
|
explicit |
Definition at line 10 of file AnimationData.cpp.
| Ra::Core::Asset::AnimationData::~AnimationData | ( | ) |
Definition at line 13 of file AnimationData.cpp.
|
inline |
Print stat info to the Debug output.
Definition at line 121 of file AnimationData.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 83 of file AnimationData.hpp.
|
inline |
Definition at line 88 of file AnimationData.hpp.
|
inline |
Definition at line 59 of file AnimationData.hpp.
|
inline |
Definition at line 68 of file AnimationData.hpp.
|
inline |
Sets the animation frames.
Definition at line 112 of file AnimationData.hpp.
Here is the call graph for this function:
|
inline |
Sets the name of the animation.
Definition at line 51 of file AnimationData.hpp.
|
inline |
Sets the AnimationTime of the animation.
Definition at line 64 of file AnimationData.hpp.
|
inline |
Sets the animation timestep. 
Definition at line 73 of file AnimationData.hpp.
|
protected |
The animation timestep.
Definition at line 106 of file AnimationData.hpp.
|
protected |
The animation frames.
Definition at line 109 of file AnimationData.hpp.
|
protected |
The AnimationTime for the object.
Definition at line 103 of file AnimationData.hpp.