ID3DXAnimationController::GetCurrentTrackEvent method

Returns an event handle to the event currently running on the specified animation track.

Syntax

D3DXEVENTHANDLE GetCurrentTrackEvent(
  [in] UINT           Track,
  [in] D3DXEVENT_TYPE EventType
);

Parameters

Track [in]

Type: UINT

Track identifier.

EventType [in]

Type: D3DXEVENT_TYPE

Type of event to query.

Return value

Type: D3DXEVENTHANDLE

Event handle to the event currently running on the specified track. NULL is returned if no event is running on the specified track.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController