AnimationSet.GetAnimationIndex Method |
Language: |
Retrieves the index of an animation, given its name.
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;
name System.String
Animation name.
System.Int32
Returns the index of the named animation; otherwise, throws a Direct3DXException.
CompressedAnimationSet, KeyframedAnimationSet
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center