CrystalSpace

Public API Reference

iSkeletonBlendNodeFactory2 Struct Reference
[Mesh plugins]

Factory for blend node. More...

#include <imesh/skeleton2anim.h>

Inheritance diagram for iSkeletonBlendNodeFactory2:

List of all members.

Public Member Functions

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

Detailed Description

Factory for blend node.

Definition at line 495 of file skeleton2anim.h.


Member Function Documentation

virtual void iSkeletonBlendNodeFactory2::AddNode ( iSkeletonAnimNodeFactory2 node,
float  weight 
) [pure virtual]

Add a new sub-node to be blended into the result.

Parameters:
node the node to add
weight the blend weight to use for this node
virtual void iSkeletonBlendNodeFactory2::ClearNodes (  )  [pure virtual]

Remove all nodes.

virtual iSkeletonAnimNodeFactory2* iSkeletonBlendNodeFactory2::GetNode ( uint  node  )  [pure virtual]

Get specific node.

Parameters:
node node index
virtual uint iSkeletonBlendNodeFactory2::GetNodeCount (  )  const [pure virtual]

Get number of nodes.

virtual CS::Animation::SynchronizationMode iSkeletonBlendNodeFactory2::GetSynchronizationMode (  )  const [pure virtual]

Get the current synchronization mode.

virtual void iSkeletonBlendNodeFactory2::NormalizeWeights (  )  [pure virtual]

Normalize the node weights so that the sum is 1.

virtual void iSkeletonBlendNodeFactory2::SetNodeWeight ( uint  node,
float  weight 
) [pure virtual]

Set the blend weight for a specific node.

virtual void iSkeletonBlendNodeFactory2::SetSynchronizationMode ( CS::Animation::SynchronizationMode  mode  )  [pure virtual]

Set the synchronization mode.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1