D3DXFrameRegisterNamedMatrices function

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

Syntax

HRESULT D3DXFrameRegisterNamedMatrices(
  _In_ LPD3DXFRAME               pFrameRoot,
  _In_ LPD3DXANIMATIONCONTROLLER pAnimController
);

Parameters

pFrameRoot [in]

Type: LPD3DXFRAME

The top level node in the frame hierarchy.

pAnimController [in]

Type: LPD3DXANIMATIONCONTROLLER

Pointer to the animation controller object.

Return value

Type: HRESULT

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

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

Animation Functions