Share via


AnimationController.ResetTime() Method (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic Public Sub ResetTime()
C# public void ResetTime();
C++ public:
void ResetTime();
JScript public function ResetTime();

Remarks

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

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.