ID3DXAnimationController::UnkeyAllTrackEvents method

Removes all events from a specified animation track.

Syntax

HRESULT UnkeyAllTrackEvents(
  [in] UINT Track
);

Parameters

Track [in]

Type: UINT

Identifier of the track on which all events should be removed.

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.

Remarks

This method prevents the execution of all events previously scheduled on the track, and discards all data associated with those events.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController