Radium Engine
1.5.20
|
#include <IO/AssimpLoader/AssimpAnimationDataLoader.hpp>
Public Member Functions | |
AssimpAnimationDataLoader (const bool VERBOSE_MODE=false) | |
CONSTRUCTOR. | |
~AssimpAnimationDataLoader () override | |
DESTRUCTOR. | |
void | loadData (const aiScene *scene, std::vector< std::unique_ptr< Core::Asset::AnimationData > > &data) override |
LOADING. | |
Protected Member Functions | |
bool | sceneHasAnimation (const aiScene *scene) const |
QUERY. | |
uint | sceneAnimationSize (const aiScene *scene) const |
void | fetchName (const aiAnimation *anim, Core::Asset::AnimationData *data) const |
NAME. | |
void | fetchTime (const aiAnimation *anim, Core::Asset::AnimationData *data) const |
TIME. | |
void | loadAnimationData (const aiScene *scene, std::vector< std::unique_ptr< Core::Asset::AnimationData > > &data) const |
KEY FRAME. | |
void | fetchAnimation (const aiAnimation *anim, Core::Asset::AnimationData *data) const |
void | fetchHandleAnimation (aiNodeAnim *node, Core::Asset::HandleAnimation &data, const Core::Asset::AnimationTime::Time dt) const |
The AssimpAnimationDataLoader converts animation data from the Assimp format to the Asset::AnimationData format.
Definition at line 25 of file AssimpAnimationDataLoader.hpp.
|
explicit |
CONSTRUCTOR.
Definition at line 22 of file AssimpAnimationDataLoader.cpp.
|
protected |
Fills data
with the AnimationData from anim
.
Definition at line 105 of file AssimpAnimationDataLoader.cpp.
|
protected |
Fills data
with the HandleAnimation from anim
, according to the animation timestep dt
.
Definition at line 118 of file AssimpAnimationDataLoader.cpp.
|
protected |
NAME.
Fills data
with the name from anim
.
Definition at line 64 of file AssimpAnimationDataLoader.cpp.
|
protected |
TIME.
Fills data
with the AnimationTime from anim
.
Definition at line 69 of file AssimpAnimationDataLoader.cpp.
|
protected |
KEY FRAME.
Fills data
with all the AnimationData from scene
.
Definition at line 89 of file AssimpAnimationDataLoader.cpp.
|
override |
LOADING.
Definition at line 29 of file AssimpAnimationDataLoader.cpp.
|
protected |
Definition at line 58 of file AssimpAnimationDataLoader.cpp.
|
protected |
QUERY.
Definition at line 54 of file AssimpAnimationDataLoader.cpp.