If set, starts the clock automatically when the first update is called. Default is true.
Keeps track of the total time that the clock has been running.
Holds the time at which the clock's start, getElapsedTime or getDelta methods were last called.
Whether the clock is running or not.
Holds the time at which the clock's start method was last called.
Starts clock. Also sets the startTime and oldTime to the current time, sets elapsedTime to 0 and running to true.
Stops clock and sets oldTime to the current time.
Generated using TypeDoc
Object for keeping track of time. This uses performance.now if it is available, otherwise it reverts to the less accurate Date.now.