AnimationController.GetAnimationSet Method

Language:

Retrieves the animation set.

Definition

Visual Basic Public Function GetAnimationSet( _
    ByVal animationName As String _
) As AnimationSet
C# public AnimationSet GetAnimationSet(
    string animationName
);
C++ public:
AnimationSetGetAnimationSet(
    StringanimationName
);
JScript public function GetAnimationSet(
    animationName : String
) : AnimationSet;

Parameters

animationName System.String
A string that contains the name of the animation set to retrieve.

Return Value

Microsoft.DirectX.Direct3D.AnimationSet
An AnimationSet object at the given animationName.

Remarks

The animation controller contains an array of animation sets. This method returns one of them at the given index or animationName.

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.