![]() |
![]() |
![]() |
Sets the priority blending weight used by the animation controller.
Syntax
HRESULT SetPriorityBlend(
FLOAT BlendWeight );
Parameters
- BlendWeight
- [in] Priority blending weight used by the animation controller.
Return Value
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 The 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