Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationController.KeyTrackPosition 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 KeyTrackPosition( _
    ByVal track As Integer, _
    ByVal newPosition As Double, _
    ByVal startTime As Double _
) As Integer
C# public int KeyTrackPosition(
    int track,
    double newPosition,
    double startTime
);
Managed C++ public: int KeyTrackPosition(
    int track,
    double newPosition,
    double startTime
);
JScript .NET public function KeyTrackPosition(
    track : int,
    newPosition : double,
    startTime : double
) : int;

Parameters

track System.Int32. Identifier of the track to modify.
newPosition System.Double. New local time of the animation track.
startTime System.Double. Global time key that specifies the global time at which the change will occur.

Return Value

System.Int32 . Priority blend event. If track 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