Go to the documentation of this file.
8 #ifndef MODELANIMATIONS_HPP_
9 #define MODELANIMATIONS_HPP_
ModelAnimations & operator=(const ModelAnimations &)=default
Default assignment operator.
std::string _filePath
The file where the animations were loaded (used to create a copy of this class)
Definition: ModelAnimations.hpp:62
std::shared_ptr<::ModelAnimation > _animationsPtr
Holds the pointer returned by the loading function.
Definition: ModelAnimations.hpp:53
A Holder for Model Animations.
Definition: ModelAnimation.hpp:16
static Cache<::ModelAnimation > _animationsCache
Definition: ModelAnimations.hpp:64
std::vector< ModelAnimation > _animations
A holder for animations.
Definition: ModelAnimations.hpp:56
~ModelAnimations()=default
Default constructor.
Definition: IAudio.hpp:12
ModelAnimation & operator[](int index)
Castin Object to raw model animation pointer.
Definition: ModelAnimations.cpp:28
size_t getAnimationsCount() const
Definition: ModelAnimations.cpp:33
const ModelAnimation & at(int index) const
std at const
Definition: ModelAnimations.cpp:43
std::string getFilePath() const
Get the creation file.
Definition: ModelAnimations.cpp:38
A Holder for Model Animations.
Definition: ModelAnimations.hpp:18
int _animationCount
the number of loaded animations
Definition: ModelAnimations.hpp:59
ModelAnimations(const std::string &filePath)
A Model animation constructor.
Definition: ModelAnimations.cpp:18