Share via


AnimationSet.GetAnimationName(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the name of an animation, given its index.

Definition

Visual Basic Public Function GetAnimationName( _
    ByVal index As Integer _
) As String
C# public string GetAnimationName(
    int index
);
C++ public:
StringLeave SiteGetAnimationName(
    int index
);
JScript public function GetAnimationName(
    index : int
) : String;

Parameters

index System.Int32
Animation index.

Return Value

System.String
Returns a string that contains the animation name; otherwise, throws a Direct3DXException.

Applies To

CompressedAnimationSet, KeyframedAnimationSet