AnimationController.SetTrackWeight Method

Language:

Sets the track weight, which is used to determine how to blend multiple tracks together.

Definition

Visual Basic Public Sub SetTrackWeight( _
    ByVal track As Integer, _
    ByVal weight As Single _
)
C# public void SetTrackWeight(
    int track,
    float weight
);
C++ public:
void SetTrackWeight(
    int track,
    float weight
);
JScript public function SetTrackWeight(
    track : int,
    weight : float
);

Parameters

track System.Int32
Identifier of the track for which to set the weight.
weight System.Single
Weight value.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center