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();
Parameters
This method has no parameters.
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
This method is typically used when the global animation time value is nearing the maximum precision of DOUBLE storage, or 2⁶⁴ - 1.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also