A file's loaded animation clips, independent of any IModel bound to it - deleting every bound IModel does not delete the set, only deleteAnimationSet() does. Many IModel instances can share one set (same clips), each tracking its own current clip/frame via IModel::setAnimation()/updateAnimation().
More...
#include <IAnimationSet.hpp>
|
| virtual | ~IAnimationSet ()=default |
| |
| virtual bool | isReady () const =0 |
| | notice if the animation set is ready
|
| |
| virtual int | getSize () const =0 |
| | Get the number of clips in this set.
|
| |
| virtual std::string | getName (int index) const =0 |
| | The clip name, as it appears in the file.
|
| |
| virtual int | getFrameCount (int index) const =0 |
| | How many frames this clip has.
|
| |
A file's loaded animation clips, independent of any IModel bound to it - deleting every bound IModel does not delete the set, only deleteAnimationSet() does. Many IModel instances can share one set (same clips), each tracking its own current clip/frame via IModel::setAnimation()/updateAnimation().
◆ ~IAnimationSet()
| virtual graphic::IAnimationSet::~IAnimationSet |
( |
| ) |
|
|
virtualdefault |
◆ getFrameCount()
| virtual int graphic::IAnimationSet::getFrameCount |
( |
int |
index | ) |
const |
|
pure virtual |
How many frames this clip has.
- Parameters
-
- Returns
- int
◆ getName()
| virtual std::string graphic::IAnimationSet::getName |
( |
int |
index | ) |
const |
|
pure virtual |
The clip name, as it appears in the file.
A Mixamo export often bakes every move into a single clip : the clip count therefore does not tell you the number of moves, and sub-sequences are marked nowhere.
- Parameters
-
- Returns
- std::string
◆ getSize()
| virtual int graphic::IAnimationSet::getSize |
( |
| ) |
const |
|
pure virtual |
Get the number of clips in this set.
- Returns
- int
◆ isReady()
| virtual bool graphic::IAnimationSet::isReady |
( |
| ) |
const |
|
pure virtual |
notice if the animation set is ready
- Returns
- bool
The documentation for this interface was generated from the following file: