ID3DXAnimationController::SetTrackPriority method

Sets the priority blending weight for the specified animation track.

Syntax

HRESULT SetTrackPriority(
  [in] UINT              Track,
  [in] D3DXPRIORITY_TYPE Priority
);

Parameters

Track [in]

Type: UINT

Track identifier.

Priority [in]

Type: D3DXPRIORITY_TYPE

Track priority. This parameter should be set to one of the constants from D3DXPRIORITY_TYPE.

Return value

Type: HRESULT

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

Remarks

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController