AnimationSet.GetAnimationIndex(String) Method (Microsoft.DirectX.Direct3D)
Retrieves the index of an animation, given its name.
Definition
Visual Basic Public Function GetAnimationIndex( _
ByVal name As String _
) As IntegerC# public int GetAnimationIndex(
string name
);C++ public:
int GetAnimationIndex(
String^ name
);JScript 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