ID3DXAnimationController::KeyTrackEnable method

Sets an event key that enables or disables an animation track.

Syntax

D3DXEVENTHANDLE KeyTrackEnable(
  [in] UINT   Track,
  [in] BOOL   NewEnable,
  [in] DOUBLE StartTime
);

Parameters

Track [in]

Type: UINT

Identifier of the animation track to modify.

NewEnable [in]

Type: BOOL

Enable flag. Set this to TRUE to enable the animation track, or to FALSE to disable the track.

StartTime [in]

Type: DOUBLE

Global time key. Specifies the global time when the change will take place.

Return value

Type: D3DXEVENTHANDLE

Event handle to the priority blend event. NULL is returned if Track is invalid.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController