![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
An animation container interface, which allows generic access to sibling animations. More...
#include <OgreAnimation.h>
Inheritance diagram for Ogre::v1::AnimationContainer:Public Member Functions | |
| virtual | ~AnimationContainer () |
| virtual Animation * | createAnimation (const String &name, Real length)=0 |
| Create a new animation with a given length owned by this container. | |
| virtual Animation * | getAnimation (const String &name) const =0 |
| Retrieve an animation by name. | |
| virtual Animation * | getAnimation (unsigned short index) const =0 |
| Retrieve an animation by index. | |
| virtual unsigned short | getNumAnimations () const =0 |
| Gets the number of animations in this container. | |
| virtual bool | hasAnimation (const String &name) const =0 |
| Returns whether this object contains the named animation. | |
| virtual void | removeAnimation (const String &name)=0 |
| Removes an Animation from this container. | |
An animation container interface, which allows generic access to sibling animations.
|
virtual |
|
pure virtual |
Create a new animation with a given length owned by this container.
Implemented in Ogre::v1::Mesh, Ogre::v1::OldSkeletonInstance, and Ogre::v1::Skeleton.
|
pure virtual |
Retrieve an animation by name.
Implemented in Ogre::v1::Mesh, and Ogre::v1::Skeleton.
|
pure virtual |
Retrieve an animation by index.
Implemented in Ogre::v1::Mesh, Ogre::v1::OldSkeletonInstance, and Ogre::v1::Skeleton.
|
pure virtual |
Gets the number of animations in this container.
Implemented in Ogre::v1::Mesh, Ogre::v1::OldSkeletonInstance, and Ogre::v1::Skeleton.
|
pure virtual |
Returns whether this object contains the named animation.
Implemented in Ogre::v1::Mesh, and Ogre::v1::Skeleton.
|
pure virtual |
Removes an Animation from this container.
Implemented in Ogre::v1::Mesh, Ogre::v1::OldSkeletonInstance, and Ogre::v1::Skeleton.