?/TD>
Microsoft DirectX 9.0

ID3DXAnimationController::SetPriorityBlend Method


Sets the track blending weight.

Syntax

HRESULT SetPriorityBlend(      

    FLOAT BlendWeight );

Parameters

BlendWeight
[in] Number between 0 and 1 that is used to blend tracks together.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be one of the following values.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.


Remarks

The blend weight is used to blend high and low priority tracks together.

See Also

ID3DXAnimationController::GetPriorityBlend


© 2002 Microsoft Corporation. All rights reserved.