Share via


AnimationController.NumberAnimationSets Property (Microsoft.DirectX.Direct3D)

Returns the number of animation sets currently registered in the animation controller.

Definition

Visual Basic Public ReadOnly Property NumberAnimationSets As Integer
C# public int NumberAnimationSets { get; }
C++ public:
property int NumberAnimationSets {
        int get();
}
JScript public function get NumberAnimationSets() : int

Property Value

System.Int32
An integer that represents the number of animation sets in the animation controller.

This property is read-only. 

Remarks

The AnimationController contains any number of animations sets and tracks. Animation sets can be registered with RegisterAnimationSet. An AnimationController created by a call to Mesh.LoadHierarchyFromFile will automatically register loaded animation sets.