Share via


AnimationController.SetTrackEnable(Int32,Boolean) Method (Microsoft.DirectX.Direct3D)

Enables or disables a track in the animation controller.

Definition

Visual Basic Public Sub SetTrackEnable( _
    ByVal track As Integer, _
    ByVal enable As Boolean _
)
C# public void SetTrackEnable(
    int track,
    bool enable
);
C++ public:
void SetTrackEnable(
    int track,
    bool enable
);
JScript public function SetTrackEnable(
    track : int,
    enable : boolean
);

Parameters

track System.Int32
Track identifier.
enable System.Boolean
Set to true if the track is enabled in the controller. Set to false if the track should not be mixed.

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.