ID3DXAnimationController::KeyTrackPosition

Sets an event key that changes the local time of an animation track.

D3DXEVENTHANDLE KeyTrackPosition(
  UINT Track,
  DOUBLE NewPosition,
  DOUBLE StartTime
);

Parameters

Track
[in] Identifier of the track to modify.
NewPosition
[in] New local time of the animation track.
StartTime
[in] Global time key. Specifies the global time when the change will take place.

Return Values

Event handle to the priority blend event. NULL is returned if Track is invalid, or if no free event is available.

Requirements

Header: Declared in D3dx9anim.h.