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:
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 iSkeletonAnimNodeFactory * | GetNode (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:
- CS::Animation::iSkeletonRandomNode::GetFactory()
- CS::Animation::iSkeletonAnimNodeFactory::FindNode()
Main users of this interface:
Definition at line 897 of file skeleton2anim.h.
The documentation for this struct was generated from the following file:
- imesh/animnode/skeleton2anim.h
Generated for Crystal Space 2.0 by doxygen 1.6.1