Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationController.KeyTrackSpeed Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Function KeyTrackSpeed( _
    ByVal track As Integer, _
    ByVal newSpeed As Single, _
    ByVal startTime As Double, _
    ByVal duration As Double, _
    ByVal method As TransitionType _
) As Integer
C# public int KeyTrackSpeed(
    int track,
    float newSpeed,
    double startTime,
    double duration,
    TransitionType method
);
Managed C++ public: int KeyTrackSpeed(
    int track,
    float newSpeed,
    double startTime,
    double duration,
    TransitionType method
);
JScript .NET public function KeyTrackSpeed(
    track : int,
    newSpeed : float,
    startTime : double,
    duration : double,
    method : TransitionType
) : int;

Parameters

track System.Int32. Identifier of the track to modify.
newSpeed System.Single. New speed of the animation track.
startTime System.Double. Global time key that specifies the global time at which the change will occur.
duration System.Double. Transition time, which specifies how long the smooth transition will take to complete.
method Microsoft.DirectX.Direct3D.TransitionType. Transition type used for transitioning between speeds. For more information, see TransitionType.

Return Value

System.Int32 . Event handle to the priority blend event. If one or more of the input parameters is invalid, or if no free event is available, a value of 0 is returned.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center