CrystalSpace

Public API Reference

CS::Animation::iSkeletonBlendNodeFactory Struct Reference
[Mesh plugins]

Factory for blend nodes, ie nodes which blend together any number of sub-nodes. More...

#include <imesh/animnode/skeleton2anim.h>

Inheritance diagram for CS::Animation::iSkeletonBlendNodeFactory:

List of all members.

Public Member Functions

virtual void AddNode (iSkeletonAnimNodeFactory *node, float weight)=0
 Add a new sub-node to be blended into the result.
virtual void ClearNodes ()=0
 Remove all sub-nodes.
virtual iSkeletonAnimNodeFactoryGetNode (uint node)=0
 Get the sub-node at the given index.
virtual uint GetNodeCount () const =0
 Get number of sub-nodes.
virtual SynchronizationMode GetSynchronizationMode () const =0
 Get the current synchronization mode.
virtual void NormalizeWeights ()=0
 Normalize the sub-node weights so that the sum is 1.
virtual void SetNodeWeight (uint node, float weight)=0
 Set the blend weight for a specific sub-node.
virtual void SetSynchronizationMode (SynchronizationMode mode)=0
 Set the synchronization mode.

Detailed Description

Factory for blend nodes, ie nodes which blend together any number of sub-nodes.

It defines instances of CS::Animation::iSkeletonBlendNode.

Main creators of instances implementing this interface:

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 732 of file skeleton2anim.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1