MCPcopy Create free account
hub / github.com/pmndrs/postprocessing / reset

Method reset

src/core/Timer.js:195–201  ·  view source on GitHub ↗

* Resets this timer.

()

Source from the content-addressed store, hash-verified

193 */
194
195 reset() {
196
197 this._delta = 0;
198 this._elapsed = 0;
199 this.currentTime = performance.now() - this.startTime;
200
201 }
202
203 getDelta() {
204

Callers 1

constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected