Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationController.KeyPriorityBlend Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets blending event keys for the specified animation track.

Definition

Visual Basic .NET 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
);
Managed C++ public: int KeyPriorityBlend(
    float newBlendWeight,
    double startTime,
    double duration,
    TransitionType method
);
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center