CrystalSpace

Public API Reference

iSkeletonAnimPacketFactory2 Struct Reference
[Mesh plugins]

Defines a factory for a skeletal animation packet. More...

#include <imesh/skeleton2anim.h>

Inheritance diagram for iSkeletonAnimPacketFactory2:

List of all members.

Public Member Functions

virtual void ClearAnimations ()=0
 Remove all animation factories.
virtual iSkeletonAnimation2CreateAnimation (const char *name)=0
 Create a new animation factory.
virtual csPtr
< iSkeletonAnimationNodeFactory2
CreateAnimationNode (const char *name)=0
 Create an animation node.
virtual csPtr
< iSkeletonBlendNodeFactory2
CreateBlendNode (const char *name)=0
 Create a blend node.
virtual csPtr
< iSkeletonFSMNodeFactory2
CreateFSMNode (const char *name)=0
 Create a FSM node.
virtual csPtr
< iSkeletonAnimPacket2
CreateInstance (iSkeleton2 *skeleton)=0
 Create an instance of this animation packet.
virtual csPtr
< iSkeletonPriorityNodeFactory2
CreatePriorityNode (const char *name)=0
 Create a priority node.
virtual csPtr
< iSkeletonRandomNodeFactory2
CreateRandomNode (const char *name)=0
 Create a random switching node.
virtual iSkeletonAnimation2FindAnimation (const char *name)=0
 Find an already created animation factory.
virtual iSkeletonAnimation2GetAnimation (size_t index)=0
 Get animation factory by index.
virtual size_t GetAnimationCount () const =0
 Get the number of animation factories.
virtual iSkeletonAnimNodeFactory2GetAnimationRoot () const =0
 Get the root node for the animation mixing hierarchy.
virtual void SetAnimationRoot (iSkeletonAnimNodeFactory2 *root)=0
 Set the root node for the animation mixing hierarchy.

Detailed Description

Defines a factory for a skeletal animation packet.

A packet consists of a number of animations and a hierarchical structure of nodes that defines how those animations are mixed.

Definition at line 108 of file skeleton2anim.h.


Member Function Documentation

virtual void iSkeletonAnimPacketFactory2::ClearAnimations (  )  [pure virtual]

Remove all animation factories.

virtual iSkeletonAnimation2* iSkeletonAnimPacketFactory2::CreateAnimation ( const char *  name  )  [pure virtual]

Create a new animation factory.

virtual csPtr<iSkeletonAnimationNodeFactory2> iSkeletonAnimPacketFactory2::CreateAnimationNode ( const char *  name  )  [pure virtual]

Create an animation node.

virtual csPtr<iSkeletonBlendNodeFactory2> iSkeletonAnimPacketFactory2::CreateBlendNode ( const char *  name  )  [pure virtual]

Create a blend node.

virtual csPtr<iSkeletonFSMNodeFactory2> iSkeletonAnimPacketFactory2::CreateFSMNode ( const char *  name  )  [pure virtual]

Create a FSM node.

virtual csPtr<iSkeletonAnimPacket2> iSkeletonAnimPacketFactory2::CreateInstance ( iSkeleton2 skeleton  )  [pure virtual]

Create an instance of this animation packet.

virtual csPtr<iSkeletonPriorityNodeFactory2> iSkeletonAnimPacketFactory2::CreatePriorityNode ( const char *  name  )  [pure virtual]

Create a priority node.

virtual csPtr<iSkeletonRandomNodeFactory2> iSkeletonAnimPacketFactory2::CreateRandomNode ( const char *  name  )  [pure virtual]

Create a random switching node.

virtual iSkeletonAnimation2* iSkeletonAnimPacketFactory2::FindAnimation ( const char *  name  )  [pure virtual]

Find an already created animation factory.

virtual iSkeletonAnimation2* iSkeletonAnimPacketFactory2::GetAnimation ( size_t  index  )  [pure virtual]

Get animation factory by index.

virtual size_t iSkeletonAnimPacketFactory2::GetAnimationCount (  )  const [pure virtual]

Get the number of animation factories.

virtual iSkeletonAnimNodeFactory2* iSkeletonAnimPacketFactory2::GetAnimationRoot (  )  const [pure virtual]

Get the root node for the animation mixing hierarchy.

virtual void iSkeletonAnimPacketFactory2::SetAnimationRoot ( iSkeletonAnimNodeFactory2 root  )  [pure virtual]

Set the root node for the animation mixing hierarchy.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 1.4.1 by doxygen 1.7.1