CrystalSpace

Public API Reference

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

An animation node that blends together the sub-nodes based on their weights. More...

#include <imesh/animnode/skeleton2anim.h>

Inheritance diagram for CS::Animation::iSkeletonBlendNode:

List of all members.

Public Member Functions

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.

Detailed Description

An animation node that blends together the sub-nodes based on their weights.

It is defined by a CS::Animation::iSkeletonBlendNodeFactory.

The weights does not have to add up to 1, upon update the active animations will be combined so that the sum is 1.

Main creators of instances implementing this interface:

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 799 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