Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationSet.GetAnimationIndex Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the index of an animation, given its name.

Definition

Visual Basic .NET Public Function GetAnimationIndex( _
    ByVal name As String _
) As Integer
C# public int GetAnimationIndex(
    string name
);
Managed C++ public: int GetAnimationIndex(
    String *name
);
JScript .NET public function GetAnimationIndex(
    name : String
) : int;

Parameters

name System.String. Animation name.

Return Value

System.Int32 . Returns the index of the named animation; otherwise, throws a Direct3DXException.

Applies To

CompressedAnimationSet, KeyframedAnimationSet

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center