ID3DXAnimationController::GetAnimationSetByName method
Gets an animation set, given its name.
Syntax
HRESULT GetAnimationSetByName(
[in] LPCSTR pName,
[out] LPD3DXANIMATIONSET *ppAnimSet
);
Parameters
-
pName [in]
-
Type: LPCSTR
String containing the name of the animation set.
-
ppAnimSet [out]
-
Type: LPD3DXANIMATIONSET*
Pointer to the ID3DXAnimationSet animation set.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.
Remarks
The animation controller contains an array of animation sets. This method returns an animation set that has the given name.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also