![]() |
![]() |
Adds an animation output to the animation controller and registers pointers for scale, rotate, and translate (SRT) transformations.
HRESULT RegisterAnimationOutput( LPCSTR Name, D3DXMATRIX * pMatrix, D3DXVECTOR3 * pScale, D3DXQUATERNION * pRotation, D3DXVECTOR3 * pTranslation );
If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
If the animation output is already registered, pMatrix will be filled with the input transformation data.
Animation sets created with D3DXLoadMeshHierarchyFromX automatically register all loaded animation sets.
Header: Declared in D3dx9anim.h.