#include <u_animation_set.h>
Inheritance diagram for NL3D::UAnimationSet:
Nevrax France
Definition at line 45 of file u_animation_set.h.
Public Types | |
enum | { NotFound = 0xffffffff } |
Public Member Functions | |
Set build. | |
virtual uint | addAnimation (const char *fileName, const char *animName)=0 |
virtual uint | addSkeletonWeight (const char *fileName, const char *skelName)=0 |
virtual void | build ()=0 |
Animations mgt. | |
virtual UAnimation * | getAnimation (uint animationId)=0 |
virtual uint | getAnimationIdByName (const std::string &name) const=0 |
virtual const std::string & | getAnimationName (uint animationId) const=0 |
virtual uint | getNumAnimation () const=0 |
Channel mgt. | |
virtual uint | getChannelIdByName (const std::string &name) const=0 |
SkeletonWeight mgt. | |
virtual uint | getNumSkeletonWeight () const=0 |
virtual uint | getSkeletonWeightIdByName (const std::string &name) const=0 |
virtual const std::string & | getSkeletonWeightName (uint skeletonId) const=0 |
Protected Member Functions | |
UAnimationSet () | |
Constructor. | |
virtual | ~UAnimationSet () |
Constructor. |
|
Definition at line 56 of file u_animation_set.h.
00056 { NotFound=0xffffffff }; |
|
Constructor.
Definition at line 50 of file u_animation_set.h.
00050 {} |
|
Constructor.
Definition at line 52 of file u_animation_set.h.
00052 {} |
|
Add an animation in the animation set. After adding all your animations, call build(). This method use CPath to search the animation file.
Implemented in NL3D::CAnimationSetUser. |
|
Add a skeleton weight in the animation set. This method use CPath to search the skeleton file.
Implemented in NL3D::CAnimationSetUser. |
|
Build the animation set. Call build after adding all your animations. Implemented in NL3D::CAnimationSetUser. Referenced by NL3D::CSceneUser::setAutomaticAnimationSet(). |
|
Get a writable animation pointer.
Implemented in NL3D::CAnimationSetUser. |
|
Get a animation ID by name. If no animation is found, method returns NotFound. Implemented in NL3D::CAnimationSetUser. |
|
Get animation name. Implemented in NL3D::CAnimationSetUser. |
|
Get a channel ID with its name. If no channel is found, method returns NotFound. Implemented in NL3D::CAnimationSetUser. |
|
Get animations count. Implemented in NL3D::CAnimationSetUser. |
|
Get skeleton weight count. Implemented in NL3D::CAnimationSetUser. |
|
Get a SkeletonWeight ID by name. If no SkeletonWeight is found, method returns NotFound. Implemented in NL3D::CAnimationSetUser. |
|
Get skeleton template name. Implemented in NL3D::CAnimationSetUser. |