![]() |
![]() |
![]() |
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