ID3DXKeyframedAnimationSet::SetCallbackKey method

Sets information about a specific callback in the animation set.

Syntax

HRESULT SetCallbackKey(
  [in]  UINT               Animation,
  [out] LPD3DXKEY_CALLBACK pCallbackKeys
);

Parameters

Animation [in]

Type: UINT

Animation index.

pCallbackKeys [out]

Type: LPD3DXKEY_CALLBACK

Pointer to the callback function.

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.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXKeyframedAnimationSet