|
SO3Engine
|
#include <SO3NodeAnimation.h>
Public Member Functions | |
| SNodeAnimation (SScene *scene, const std::string &animationName, SNode *node, const unsigned short &id, const float &animationLength) | |
| ~SNodeAnimation () | |
Public Member Functions inherited from SO3::SAnim | |
| virtual | ~SAnim () |
| Ogre::Animation * | GetOgreAnimationPointer () |
| SNode * | GetParentNode () |
| SScene * | GetParentScene () |
| AnimType | GetType () |
| bool | IsSequenceUpdated () |
| void | SetSequenceUpdated (const bool &value) |
| unsigned short | GetIndex () |
| SAnimTrack * | CreateAnimationTrack (const std::string &newAnimationTrackName) |
| void | DeleteAnimationTrack (SAnimTrack *existingAnimationTrack) |
| unsigned short | GetNumAnimationsTracks () |
| SAnimTrack * | GetAnimationTrack (const unsigned short &index) |
| SAnimTrackList | GetAnimationsTracks () const |
| void | SetLength (const float &length) |
| float | GetLength () |
| virtual void | SetTimePosition (const float &timePosition) |
| float | GetTimePosition () |
| void | Apply (const float &timePosition) |
| virtual void | SetWeight (const float &weight) |
| virtual float | GetWeight () |
| void | SetInitialWeight (const float &weight) |
| float | GetInitialWeight () |
| void | SetInitialLoop (const bool &loop) |
| bool | GetInitialLoop () |
| void | SetInterpolationMode (const AnimInterpolationMode &interpolationMode) |
| AnimInterpolationMode | GetInterpolationMode () |
| void | SetRotationInterpolationMode (const AnimRotationInterpolationMode &interpolationMode) |
| AnimRotationInterpolationMode | GetRotationInterpolationMode () |
| virtual void | SetEnable (const bool &enable) |
| virtual bool | GetEnable () |
| void | SetLoop (const bool &loop) |
| bool | GetLoop () |
| bool | SkipFrame () |
| void | SetSkipFrame (const bool &state) |
| void | SetOptimise (const bool &optimize) |
| void | SetSpeed (const float &newSpeed) |
| float | GetSpeed () |
| bool | HasEnded () |
| void | AddTime (const float &time) |
| void | SetPaused (const bool &pauseState) |
| bool | GetPaused () |
| void | Update (const Ogre::FrameEvent &evt) |
| virtual void | _UpdateImpl (const Ogre::FrameEvent &evt) |
Public Member Functions inherited from SO3::SData | |
| SData (const std::string &dataName) | |
| virtual | ~SData () |
| std::string | GetName () const |
| SUserObjectBindings & | GetUserObjectBindings () |
| const SUserObjectBindings & | GetUserObjectBindings () const |
Protected Member Functions | |
| virtual SAnimTrack * | CreateAnimationTrackImpl (const std::string &newAnimationTrackName) |
| virtual Ogre::AnimationState * | _GetOgreAnimationState () |
Protected Member Functions inherited from SO3::SAnim | |
| SAnim (SScene *scene, const std::string &animationName, SNode *animationAssociatedNode, const unsigned short &animationId, const AnimType &animationType) | |
| void | AddAnimationTrack (SAnimTrack *existingAnimationTrack) |
| void | RemoveAnimationTrack (SAnimTrack *existingAnimationTrack) |
Additional Inherited Members | |
Public Types inherited from SO3::SAnim | |
| enum | AnimType { SO3_UNKNOWN_ANIM = 0 , SO3_SCENENODE_ANIM = 1 , SO3_SKELETAL_ANIM = 2 , SO3_VERTEX_ANIM = 3 , SO3_FAP_ANIM = 4 , SO3_POSE_ANIM = 5 , SO3_SEQUENCE_ANIM = 6 } |
| enum | AnimInterpolationMode { SO3_IM_LINEAR , SO3_IM_SPLINE } |
| enum | AnimRotationInterpolationMode { SO3_RIM_LINEAR , SO3_RIM_SPHERICAL } |
Protected Attributes inherited from SO3::SAnim | |
| Ogre::Animation * | ogreAnimation |
| SAnimTrackList | animationTrackList |
| SScene * | mScene |
Protected Attributes inherited from SO3::SData | |
| std::string | name |
Definition at line 40 of file SO3NodeAnimation.h.
| SO3::SNodeAnimation::SNodeAnimation | ( | SScene * | scene, |
| const std::string & | animationName, | ||
| SNode * | node, | ||
| const unsigned short & | id, | ||
| const float & | animationLength | ||
| ) |
Create a scene node animation.
Definition at line 40 of file SO3NodeAnimation.cpp.
| SO3::SNodeAnimation::~SNodeAnimation | ( | ) |
Definition at line 51 of file SO3NodeAnimation.cpp.
|
protectedvirtual |
Get the current Animation State Internal use only
Implements SO3::SAnim.
Definition at line 65 of file SO3NodeAnimation.cpp.
|
protectedvirtual |
If the user can manually create animation tracks, then this function must be re-defined in the derived class, otherwise not.
Reimplemented from SO3::SAnim.
Definition at line 60 of file SO3NodeAnimation.cpp.