ID3DXAnimationController::SetTrackPriority

Sets the priority blending weight for the specified animation track.

HRESULT SetTrackPriority(
  UINT Track,
  D3DXPRIORITY_TYPE Priority
);

Parameters

Track
[in] Track identifier.
Priority
[in] Track priority. This parameter should be set to one of the constants from D3DXPRIORITY_TYPE.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.

Remarks

Requirements

Header: Declared in D3dx9anim.h.