Share via


AnimationController.GetTrackAnimationSet(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the animation set for a given track.

Definition

Visual Basic Public Function GetTrackAnimationSet( _
    ByVal track As Integer _
) As AnimationSet
C# public AnimationSet GetTrackAnimationSet(
    int track
);
C++ public:
AnimationSetGetTrackAnimationSet(
    int track
);
JScript public function GetTrackAnimationSet(
    track : int
) : AnimationSet;

Parameters

track System.Int32
Track identifier.

Return Value

Microsoft.DirectX.Direct3D.AnimationSet
An AnimationSet class for the given track.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.