RigsofRods
Soft-body Physics Simulation
AngelOgre_AnimationStateSet.h
Go to the documentation of this file.
1 
2 namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3 
16  {
17  public:
18 
19 
27  AnimationState@ createAnimationState(const string& animName,
28  float timePos, float length, float weight = 1.0, bool enabled = false);
29 
31  AnimationState@ getAnimationState(const string& name) const;
32 
34  bool hasAnimationState(const string& name) const;
35 
37  void removeAnimationState(const string& name);
38 
40  void removeAllAnimationStates(void);
41 
45  AnimationStateArray@ getAnimationStates();
46 
47  };
48 
51 
52 } // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
53 
AngelOgre::AnimationStateSet::createAnimationState
AnimationState createAnimationState(const string &animName, float timePos, float length, float weight=1.0, bool enabled=false)
Create a new AnimationState instance.
AngelOgre::AnimationStateSet
A manager for skeletal animation tracks in the entity.
Definition: AngelOgre_AnimationStateSet.h:15
AngelOgre::AnimationStateSet::hasAnimationState
bool hasAnimationState(const string &name) const
Tests if state for the named animation is present.
AngelOgre::AnimationStateSet::getAnimationState
AnimationState getAnimationState(const string &name) const
Get an animation state by the name of the animation.
AngelOgre::AnimationStateSet::removeAnimationState
void removeAnimationState(const string &name)
Remove animation state with the given name.
AngelOgre::AnimationState
Represents a single named skeletal animation track present in the mesh.
Definition: AngelOgre_AnimationState.h:15
AngelOgre::AnimationStateSet::getAnimationStates
AnimationStateArray getAnimationStates()
Get all the animation states in this set.
AngelOgre
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...
Definition: AngelOgre_AnimationState.h:2
AngelOgre::AnimationStateSet::removeAllAnimationStates
void removeAllAnimationStates(void)
Remove all animation states.