Click or drag to resize
DigitalRuneSkeletonKeyFrameAnimationSetWeight Method
Sets the weight for a specific bone animation channel.

Namespace: DigitalRune.Animation.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public void SetWeight(
	int boneIndex,
	float weight
)

Parameters

boneIndex
Type: SystemInt32
The index of the bone.
weight
Type: SystemSingle
The weight. Use 0 to disable the channel. Use 1 to fully enable the channel. If the weight is less than 1, the animation of the bone is mixed with preceding animations. The default weight of all bone animation channels is 1.
See Also