d3d9.dllGetAnimationSetByName
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXAnimationController::GetAnimationSetByName Method


Gets an animation set, given its name.

Syntax

HRESULT GetAnimationSetByName(      

    LPCSTR pName,     LPD3DXANIMATIONSET *ppAnimSet );

Parameters

pName
[in] String containing the name of the animation set.
ppAnimSet
[out] Pointer to the ID3DXAnimationSet animation set.

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the following value will be returned:

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.


Remarks

The animation controller contains an array of animation sets. This method returns an animation set that has the given name.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.