AnimationController.Clone(Int32,Int32,Int32,Int32) Method (Microsoft.DirectX.Direct3D)

Clones, or copies, an animation controller.

Definition

Visual Basic Public Function Clone( _
    ByVal maxNumberAnimationOutputs As Integer, _
    ByVal maxNumberAnimationSets As Integer, _
    ByVal maxNumberTracks As Integer, _
    ByVal maxNumberEvents As Integer _
) As AnimationController
C# public AnimationController Clone(
    int maxNumberAnimationOutputs,
    int maxNumberAnimationSets,
    int maxNumberTracks,
    int maxNumberEvents
);
C++ public:
AnimationControllerClone(
    int maxNumberAnimationOutputs,
    int maxNumberAnimationSets,
    int maxNumberTracks,
    int maxNumberEvents
);
JScript public function Clone(
    maxNumberAnimationOutputs : int,
    maxNumberAnimationSets : int,
    maxNumberTracks : int,
    maxNumberEvents : int
) : AnimationController;

Parameters

maxNumberAnimationOutputs System.Int32
Maximum number of animation outputs the controller can support.
maxNumberAnimationSets System.Int32
Maximum number of animation sets the controller can support.
maxNumberTracks System.Int32
Maximum number of tracks the controller can support.
maxNumberEvents System.Int32
Maximum number of events the controller can support.

Return Value

Microsoft.DirectX.Direct3D.AnimationController
A cloned AnimationController object.

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.