AnimationController.KeyTrackPosition Method |
Language: |
Sets an event key that changes the local time of an animation track.
Visual Basic Public Function KeyTrackPosition( _
ByVal track As Integer, _
ByVal newPosition As Double, _
ByVal startTime As Double _
) As IntegerC# public int KeyTrackPosition(
int track,
double newPosition,
double startTime
);C++ public:
int KeyTrackPosition(
int track,
double newPosition,
double startTime
);JScript public function KeyTrackPosition(
track : int,
newPosition : double,
startTime : double
) : int;
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.
System.Int32
Priority blend event. If track is invalid, or if no free event is available, a value of 0 is returned.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center