ID3DXAnimationController::KeyTrackPosition method
Sets an event key that changes the local time of an animation track.
Syntax
D3DXEVENTHANDLE KeyTrackPosition(
[in] UINT Track,
[in] DOUBLE NewPosition,
[in] DOUBLE StartTime
);
Parameters
-
Track [in]
-
Type: UINT
Identifier of the track to modify.
-
NewPosition [in]
-
Type: DOUBLE
New local time of the animation 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, or if no free event is available.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also