AnimationController.SetTrackAnimationSet(Int32,AnimationSet) Method (Microsoft.DirectX.Direct3D)
Applies the animation set to the specified track.
Definition
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
);
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
The method call is invalid. For example, a method's parameter might contain an invalid value.
Microsoft Direct3D could not allocate sufficient memory to complete the call.