d3d9.dllKeyTrackSpeed
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXAnimationController::KeyTrackSpeed Method


Sets an event key that changes the rate of play of an animation track.

Syntax

D3DXEVENTHANDLE KeyTrackSpeed(      

    UINT Track,     FLOAT NewSpeed,     DOUBLE StartTime,     DOUBLE Duration,     D3DXTRANSITION_TYPE Transition );

Parameters

Track
[in] Identifier of the track to modify.
NewSpeed
[in] New speed of the animation track.
StartTime
[in] Global time key. Specifies the global time when the change will take place.
Duration
[in] Transition time, which specifies how long the smooth transition will take to complete.
Transition
[in] Specifies the transition type used for transitioning between speeds. See D3DXTRANSITION_TYPE.

Return Value

Event handle to the priority blend event.

NULL is returned if one or more of the input parameters is invalid, or no free event is available.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.