d3d9.dllResetTime
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXAnimationController::ResetTime Method


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

Syntax

HRESULT ResetTime(VOID);

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the following value will be returned.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.


Remarks

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



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.