![]() |
![]() |
![]() |
Sets the priority blending weight for the specified animation track.
Syntax
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 Value
If the method succeeds, the return value is S_OK.
If the method fails, the following value will be returned.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.