Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationController.SetTrackAnimationSet Method

Language:

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

Applies the animation set to the specified track.

Definition

Visual Basic .NET Public Sub SetTrackAnimationSet( _
    ByVal track As Integer, _
    ByVal animationSet As AnimationSet _
)
C# public void SetTrackAnimationSet(
    int track,
    AnimationSet animationSet
);
Managed C++ public: void SetTrackAnimationSet(
    int track,
    AnimationSet *animationSet
);
JScript .NET public function SetTrackAnimationSet(
    track : int,
    animationSet : AnimationSet
);

Parameters

track System.Int32. Identifier of the track to which the animation set is applied.
animationSet Microsoft.DirectX.Direct3D.AnimationSet. The AnimationSet to add to the track.

Remarks

This method sets the animation set to the specified track for mixing. The animation set for each track is blended according to the track weight and speed when AnimationController.AdvanceTime is called.

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