Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationController.SetTrackWeight Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub SetTrackWeight( _
    ByVal track As Integer, _
    ByVal weight As Single _
)
C# public void SetTrackWeight(
    int track,
    float weight
);
Managed C++ public: void SetTrackWeight(
    int track,
    float weight
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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