Public API Reference

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

Factory for blending nodes playing randomly their sub-nodes. More...

#include <imesh/animnode/skeleton2anim.h>

Inheritance diagram for CS::Animation::iSkeletonRandomNodeFactory:

List of all members.

Public Member Functions

virtual void AddNode (iSkeletonAnimNodeFactory *node, float probability)=0
 Add a new sub-node to be played randomly.
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 the number of sub-nodes.
virtual void SetAutomaticSwitch (bool automatic)=0
 Set that the node should automatically switch to next one upon completion of the current one, otherwise it will stop after the first sub-node has been played.
virtual void SetNodeProbability (uint node, float weight)=0
 Set the selection probability for a specific node.

Detailed Description

Factory for blending nodes playing randomly their sub-nodes.

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

Main creators of instances implementing this interface:

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 897 of file skeleton2anim.h.

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

Generated for Crystal Space 2.0 by doxygen 1.6.1