ID3DXAnimationController::SetTrackPosition method

Sets the track to the specified local animation time.

Syntax

HRESULT SetTrackPosition(
  [in] UINT   Track,
  [in] DOUBLE Position
);

Parameters

Track [in]

Type: UINT

Track identifier.

Position [in]

Type: DOUBLE

Local animation time value to assign to the track.

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, E_OUTOFMEMORY.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController