ID3DXKeyframedAnimationSet::SetCallbackKey

Sets information about a specific callback in the animation set.

HRESULT SetCallbackKey(
  UINT Animation,
  LPD3DXKEY_CALLBACK pCallbackKeys
);

Parameters

Animation
[in] Animation index.
pCallbackKeys
[out] Pointer to the callback function.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.

Requirements

Header: Declared in D3dx9anim.h.