D3DXFRAMERegisterNamedMatrices

Given a frame hierarchy, registers all the named matrices in the animation mixer.

HRESULT D3DXFRAMERegisterNamedMatrices(
  LPD3DXFRAME pFrameRoot,
  LPD3DXANIMATIONCONTROLLER pAnimController
);

Parameters

pFrameRoot
[in] The top level node in the frame hierarchy.
pAnimController
[in] Pointer to the animation controller object.

Return Values

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.

Requirements

Header: Declared in D3dx9anim.h.