CrystalSpace

Public API Reference

iSkeletonRandomNodeFactory2 Struct Reference
[Mesh plugins]

Factory for randomized sub-node blending node. More...

#include <imesh/skeleton2anim.h>

Inheritance diagram for iSkeletonRandomNodeFactory2:

List of all members.

Public Member Functions

virtual void AddNode (iSkeletonAnimNodeFactory2 *node, float probability)=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 void SetAutomaticSwitch (bool automatic)=0
 Set that the node should automatically switch to next one upon completion of the current one.
virtual void SetNodeProbability (uint node, float weight)=0
 Set the selection probability for a specific node.

Detailed Description

Factory for randomized sub-node blending node.

Definition at line 621 of file skeleton2anim.h.


Member Function Documentation

virtual void iSkeletonRandomNodeFactory2::AddNode ( iSkeletonAnimNodeFactory2 node,
float  probability 
) [pure virtual]

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

Parameters:
node the node to add
probability probability that the node will be selected to be played next when switching.
virtual void iSkeletonRandomNodeFactory2::ClearNodes (  )  [pure virtual]

Remove all nodes.

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

Get specific node.

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

Get number of nodes.

virtual void iSkeletonRandomNodeFactory2::SetAutomaticSwitch ( bool  automatic  )  [pure virtual]

Set that the node should automatically switch to next one upon completion of the current one.

virtual void iSkeletonRandomNodeFactory2::SetNodeProbability ( uint  node,
float  weight 
) [pure virtual]

Set the selection probability for a specific node.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1