AnimationController.KeyTrackPosition(Int32,Double,Double) Method (Microsoft.DirectX.Direct3D)
Sets an event key that changes the local time of an animation track.
Definition
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;
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.