ID3DXAnimationController::GetUpcomingTrackEvent method

Returns an event handle to the next event scheduled to occur after a specified event on an animation track.

Syntax

D3DXEVENTHANDLE GetUpcomingTrackEvent(
  [in] UINT            Track,
  [in] D3DXEVENTHANDLE hEvent
);

Parameters

Track [in]

Type: UINT

Track identifier.

hEvent [in]

Type: D3DXEVENTHANDLE

Event handle to a specified event after which to search for a following event. If set to NULL, then the method will return the next scheduled event.

Return value

Type: D3DXEVENTHANDLE

Event handle to the next event scheduled to run on the specified track. NULL is returned if no new event is scheduled.

Remarks

This method can be used iteratively to locate a desired event by repeatedly passing in NULL for hEvent.

Note

Do not iterate further after the method has returned NULL.

 

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController