Raylib AnimationSet class - owns the loaded clips, independent of any RayModel bound to it.
More...
#include <RayAnimationSet.hpp>
|
| | RayAnimationSet (std::string path) |
| | ~RayAnimationSet () |
| bool | isReady () const override |
| | notice if the animation set is ready
|
| int | getSize () const override |
| | Get the number of clips in this set.
|
| std::string | getName (int index) const override |
| | The clip name, as it appears in the file.
|
| int | getFrameCount (int index) const override |
| | How many frames this clip has.
|
| raylib::ModelAnimation * | handle () const |
| virtual | ~IAnimationSet ()=default |
Raylib AnimationSet class - owns the loaded clips, independent of any RayModel bound to it.
◆ RayAnimationSet()
| RayAnimationSet::RayAnimationSet |
( |
std::string | path | ) |
|
|
inline |
◆ ~RayAnimationSet()
| RayAnimationSet::~RayAnimationSet |
( |
| ) |
|
|
inline |
◆ getFrameCount()
| int RayAnimationSet::getFrameCount |
( |
int | index | ) |
const |
|
inlineoverridevirtual |
◆ getName()
| std::string RayAnimationSet::getName |
( |
int | index | ) |
const |
|
inlineoverridevirtual |
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
Implements graphic::IAnimationSet.
◆ getSize()
| int RayAnimationSet::getSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ handle()
| raylib::ModelAnimation * RayAnimationSet::handle |
( |
| ) |
const |
|
inline |
◆ isReady()
| bool RayAnimationSet::isReady |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: