ID3DXAnimationController::ResetTime

Resets the global animation time to zero. Any pending events will retain their original schedules, but in the new timeframe.

HRESULT ResetTime();

Parameters

None.

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

This method is typically used when the global animation time value is nearing the maximum precision of DOUBLE storage, or 264 - 1.

Requirements

Header: Declared in D3dx9anim.h.