CrystalSpace

Public API Reference

iSkeletonBlendNode2 Struct Reference
[Mesh plugins]

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

#include <imesh/skeleton2anim.h>

Inheritance diagram for iSkeletonBlendNode2:

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.

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

Definition at line 549 of file skeleton2anim.h.


Member Function Documentation

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

Normalize the node weights so that the sum is 1.

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

Set the blend weight 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