AnimationController.GetAnimationSet(Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves the animation set.
Definition
Visual Basic Public Function GetAnimationSet( _
ByVal index As Integer _
) As AnimationSetC# public AnimationSet GetAnimationSet(
int index
);C++ public:
AnimationSet^ GetAnimationSet(
int index
);JScript public function GetAnimationSet(
index : int
) : AnimationSet;
Parameters
index System.Int32
An integer that represent the index of the animation set to retrieve.
Return Value
Microsoft.DirectX.Direct3D.AnimationSet
An AnimationSet object at the given index.
Remarks
The animation controller contains an array of animation sets. This method returns one of them at the given index or animationName.
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.