Share via


AnimationController.AnimationController(Int32,Int32,Int32,Int32) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the AnimationController class.

Definition

Visual Basic Public Sub New( _
    ByVal maxNumberMatrices As Integer, _
    ByVal maxNumberAnimationSets As Integer, _
    ByVal maxNumberTracks As Integer, _
    ByVal maxNumberEvents As Integer _
)
C# public AnimationController(
    int maxNumberMatrices,
    int maxNumberAnimationSets,
    int maxNumberTracks,
    int maxNumberEvents
);
C++ public:
 AnimationController(
    int maxNumberMatrices,
    int maxNumberAnimationSets,
    int maxNumberTracks,
    int maxNumberEvents
);
JScript public function AnimationController(
    maxNumberMatrices : int,
    maxNumberAnimationSets : int,
    maxNumberTracks : int,
    maxNumberEvents : int
);

Parameters

maxNumberMatrices System.Int32
Maximum number of matrices that can be animated.
maxNumberAnimationSets System.Int32
Maximum number of animation sets that can be mixed.
maxNumberTracks System.Int32
Maximum number of animation sets that can be mixed simultaneously.
maxNumberEvents System.Int32
Maximum number of outstanding events that the controller will support.

Remarks

An animation controller contains methods and properties for manipulating animations.

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.