AnimationController.SetTrackAnimationSet Method |
Language: |
Applies the animation set to the specified track.
Visual Basic Public Sub SetTrackAnimationSet( _
ByVal track As Integer, _
ByVal animationSet As AnimationSet _
)C# public void SetTrackAnimationSet(
int track,
AnimationSet animationSet
);C++ public:
void SetTrackAnimationSet(
int track,
AnimationSet^ animationSet
);JScript public function SetTrackAnimationSet(
track : int,
animationSet : AnimationSet
);
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.
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 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