Animation clips manager.
More...
#include <AnimationClips.h>
Animation clips manager.
This class store animation clips.
◆ addAnimationClip() [1/2]
Add an animation clip to the map.
- Parameters
-
name | animation clip name \patam filePath path to clip file |
◆ addAnimationClip() [2/2]
AnimationClipPtr Atoms::AnimationClips::addAnimationClip |
( |
const std::string & |
name, |
|
|
const std::string & |
filePath, |
|
|
bool |
replace = true |
|
) |
| |
Add an animation clip to the map.
- Parameters
-
name | animation clip name \patam filePath path to clip file |
◆ animationClip() [1/2]
AnimationClipPtr Atoms::AnimationClips::animationClip |
( |
const std::string & |
name | ) |
|
Return an animation clips.
- Parameters
-
animationClip | animation clip name |
- Returns
- Pointer to the animation clip stored inside this class
◆ animationClip() [2/2]
AnimationClipCPtr Atoms::AnimationClips::animationClip |
( |
const std::string & |
name | ) |
const |
Return an animation clips.
- Parameters
-
animationClip | animation clip name |
- Returns
- Pointer to the animation clip stored inside this class
◆ animationClipExists()
bool Atoms::AnimationClips::animationClipExists |
( |
const std::string & |
name | ) |
|
Check if an animation clip exists.
- Parameters
-
- Returns
- Return true if the animation clip exists
◆ animationClipNames()
std::vector<std::string> Atoms::AnimationClips::animationClipNames |
( |
| ) |
|
Get all animation clip names.
- Returns
- List of all animation clip names
◆ removeAnimationClip()
void Atoms::AnimationClips::removeAnimationClip |
( |
const std::string & |
name | ) |
|
Remove an animation clip from the map.
- Parameters
-
The documentation for this class was generated from the following file: