| BlendGroupSetWeight Method (Int32, Single) |
Sets the blend weight of the timeline at the specified index.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public void SetWeight(
int index,
float weight
)
Public Sub SetWeight (
index As Integer,
weight As Single
)
public:
void SetWeight(
int index,
float weight
)
member SetWeight :
index : int *
weight : float32 -> unit
Parameters
- index
- Type: SystemInt32
The index of the timeline in the BlendGroup. - weight
- Type: SystemSingle
The blend weight of the timeline.
Exceptions See Also