d3d9.dllKeyPriorityBlend
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXAnimationController::KeyPriorityBlend Method


Sets blending event keys for the specified animation track.

Syntax

D3DXEVENTHANDLE KeyPriorityBlend(      

    FLOAT NewBlendWeight,     DOUBLE StartTime,     DOUBLE Duration,     D3DXTRANSITION_TYPE Transition );

Parameters

NewBlendWeight
[in] Number between 0 and 1 that is used to blend tracks together.
StartTime
[in] Global time to start the blend.
Duration
[in] Global time duration of the blend.
Transition
[in] Specifies the transition type used for the duration of the blend. See D3DXTRANSITION_TYPE.

Return Value

Event handle to the priority blend event.

NULL is returned if one or more of the input parameters is invalid, or no free event is available.

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

ID3DXAnimationController::SetPriorityBlend


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.