![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
A manager for skeletal animation tracks in the entity. More...
#include <AngelOgre_AnimationStateSet.h>
Public Member Functions | |
| AnimationState | createAnimationState (const string &animName, float timePos, float length, float weight=1.0, bool enabled=false) |
| Create a new AnimationState instance. More... | |
| AnimationState | getAnimationState (const string &name) const |
| Get an animation state by the name of the animation. More... | |
| bool | hasAnimationState (const string &name) const |
| Tests if state for the named animation is present. More... | |
| void | removeAnimationState (const string &name) |
| Remove animation state with the given name. More... | |
| void | removeAllAnimationStates (void) |
| Remove all animation states. More... | |
| AnimationStateArray | getAnimationStates () |
| Get all the animation states in this set. More... | |
A manager for skeletal animation tracks in the entity.
Definition at line 15 of file AngelOgre_AnimationStateSet.h.
| AnimationState AngelOgre::AnimationStateSet::createAnimationState | ( | const string & | animName, |
| float | timePos, | ||
| float | length, | ||
| float | weight = 1.0, |
||
| bool | enabled = false |
||
| ) |
Create a new AnimationState instance.
| animName | The name of the animation |
| timePos | Starting time position |
| length | Length of the animation to play |
| weight | Weight to apply the animation with |
| enabled | Whether the animation is enabled |
| AnimationState AngelOgre::AnimationStateSet::getAnimationState | ( | const string & | name | ) | const |
Get an animation state by the name of the animation.
| AnimationStateArray AngelOgre::AnimationStateSet::getAnimationStates | ( | ) |
Get all the animation states in this set.
| bool AngelOgre::AnimationStateSet::hasAnimationState | ( | const string & | name | ) | const |
Tests if state for the named animation is present.
| void AngelOgre::AnimationStateSet::removeAllAnimationStates | ( | void | ) |
Remove all animation states.
| void AngelOgre::AnimationStateSet::removeAnimationState | ( | const string & | name | ) |
Remove animation state with the given name.
1.8.17