Share via


AnimationController.SetTrackPosition(Int32,Double) Method (Microsoft.DirectX.Direct3D)

Sets the track to the specified local animation time.

Definition

Visual Basic Public Sub SetTrackPosition( _
    ByVal track As Integer, _
    ByVal position As Double _
)
C# public void SetTrackPosition(
    int track,
    double position
);
C++ public:
void SetTrackPosition(
    int track,
    double position
);
JScript public function SetTrackPosition(
    track : int,
    position : double
);

Parameters

track System.Int32
Track identifier.
position System.Double
Local animation time value to assign to the track.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.