Share via


AnimationController.GetAnimationSet(String) Method (Microsoft.DirectX.Direct3D)

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(
    StringLeave SiteanimationName
);
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.