Share via


AnimationController.KeyPriorityBlend(Single,Double,Double,TransitionType) Method (Microsoft.DirectX.Direct3D)

Sets blending event keys for the specified animation track.

Definition

Visual Basic Public Function KeyPriorityBlend( _
    ByVal newBlendWeight As Single, _
    ByVal startTime As Double, _
    ByVal duration As Double, _
    ByVal method As TransitionType _
) As Integer
C# public int KeyPriorityBlend(
    float newBlendWeight,
    double startTime,
    double duration,
    TransitionType method
);
C++ public:
int KeyPriorityBlend(
    float newBlendWeight,
    double startTime,
    double duration,
    TransitionType method
);
JScript public function KeyPriorityBlend(
    newBlendWeight : float,
    startTime : double,
    duration : double,
    method : TransitionType
) : int;

Parameters

newBlendWeight System.Single
Number between 0 and 1 that is used to blend tracks.
startTime System.Double
Global time at which to start the blend.
duration System.Double
Global time duration of the blend.
method Microsoft.DirectX.Direct3D.TransitionType
Transition type used for the duration of the blend. For more information, see TransitionType.

Return Value

System.Int32
Handle to the priority blend event. If one or more of the input parameters is invalid, or if no free event is available, a value of 0 is returned.

Remarks

The animation controller blends in three phases: low-priority tracks are blended first, high-priority tracks are blended second, and then the results of both are blended.

See Also