Share via


AnimationController.SetTrackPriority(Int32,PriorityType) Method (Microsoft.DirectX.Direct3D)

Sets the priority blending weight for the specified animation track.

Definition

Visual Basic Public Sub SetTrackPriority( _
    ByVal track As Integer, _
    ByVal priority As PriorityType _
)
C# public void SetTrackPriority(
    int track,
    PriorityType priority
);
C++ public:
void SetTrackPriority(
    int track,
    PriorityType priority
);
JScript public function SetTrackPriority(
    track : int,
    priority : PriorityType
);

Parameters

track System.Int32
Track identifier.
priority Microsoft.DirectX.Direct3D.PriorityType
Track priority; should be set to one of the PriorityType constants.

Remarks

Exceptions

InvalidCallException

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