Share via


AnimationController.SetTrackSpeed(Int32,Single) Method (Microsoft.DirectX.Direct3D)

Sets the priority blending weight for the specified animation track.

Definition

Visual Basic Public Sub SetTrackSpeed( _
    ByVal track As Integer, _
    ByVal speed As Single _
)
C# public void SetTrackSpeed(
    int track,
    float speed
);
C++ public:
void SetTrackSpeed(
    int track,
    float speed
);
JScript public function SetTrackSpeed(
    track : int,
    speed : float
);

Parameters

track System.Int32
Track identifier.
speed System.Single
Track priority; should be set to one of the constants from PriorityType.

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.