Click or drag to resize
DigitalRuneBlendGroupSetWeight Method (Int32, Single)
Sets the blend weight of the timeline at the specified index.

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

Parameters

index
Type: SystemInt32
The index of the timeline in the BlendGroup.
weight
Type: SystemSingle
The blend weight of the timeline.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0 or equal to or greater than Count. Or, weight is negative.
See Also