ID3DXAnimationController::SetPriorityBlend method

Sets the priority blending weight used by the animation controller.

Syntax

HRESULT SetPriorityBlend(
  [in] FLOAT BlendWeight
);

Parameters

BlendWeight [in]

Type: FLOAT

Priority blending weight used by the animation controller.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following values: D3DERR_INVALIDCALL.

Remarks

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

Requirements

Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController

GetPriorityBlend