#include <OgreAnimationState.h>
Public Member Functions | |
OGRE_AUTO_MUTEX | AnimationStateSet () |
Create a blank animation state set. | |
AnimationStateSet (const AnimationStateSet &rhs) | |
Create an animation set by copying the contents of another. | |
~AnimationStateSet () | |
AnimationState * | createAnimationState (const String &animName, Real timePos, Real length, Real weight=1.0, bool enabled=false) |
Create a new AnimationState instance. | |
AnimationState * | getAnimationState (const String &name) const |
Get an animation state by the name of the animation. | |
bool | hasAnimationState (const String &name) const |
Tests if state for the named animation is present. | |
void | removeAnimationState (const String &name) |
Remove animation state with the given name. | |
void | removeAllAnimationStates (void) |
Remove all animation states. | |
AnimationStateIterator | getAnimationStateIterator (void) |
Get an iterator over all the animation states in this set. | |
ConstAnimationStateIterator | getAnimationStateIterator (void) const |
Get an iterator over all the animation states in this set. | |
void | copyMatchingState (AnimationStateSet *target) const |
Copy the state of any matching animation states from this to another. | |
void | _notifyDirty (void) |
Set the dirty flag and dirty frame number on this state set. | |
unsigned long | getDirtyFrameNumber (void) const |
Get the latest animation state been altered frame number. | |
void | _notifyAnimationStateEnabled (AnimationState *target, bool enabled) |
Internal method respond to enable/disable an animation state. | |
bool | hasEnabledAnimationState (void) const |
Tests if exists enabled animation state in this set. | |
ConstEnabledAnimationStateIterator | getEnabledAnimationStateIterator (void) const |
Get an iterator over all the enabled animation states in this set. | |
Protected Attributes | |
unsigned long | mDirtyFrameNumber |
AnimationStateMap | mAnimationStates |
EnabledAnimationStateList | mEnabledAnimationStates |
Definition at line 129 of file OgreAnimationState.h.
|
Create a blank animation state set.
|
|
Create an animation set by copying the contents of another.
|
|
|
|
Internal method respond to enable/disable an animation state.
|
|
Set the dirty flag and dirty frame number on this state set.
|
|
Copy the state of any matching animation states from this to another.
|
|
Create a new AnimationState instance.
|
|
Get an animation state by the name of the animation.
|
|
Get an iterator over all the animation states in this set.
|
|
Get an iterator over all the animation states in this set.
|
|
Get the latest animation state been altered frame number.
Definition at line 178 of file OgreAnimationState.h. |
|
Get an iterator over all the enabled animation states in this set.
|
|
Tests if state for the named animation is present.
|
|
Tests if exists enabled animation state in this set.
Definition at line 183 of file OgreAnimationState.h. |
|
Remove all animation states.
|
|
Remove animation state with the given name.
|
|
Definition at line 194 of file OgreAnimationState.h. |
|
Definition at line 193 of file OgreAnimationState.h. |
|
Definition at line 195 of file OgreAnimationState.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 25 13:03:26 2007