MCPcopy Create free account
hub / github.com/pyscript/pyscript / running_time

Method running_time

core/tests/manual/issue-2302/libthree.py:39–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37
38 @property
39 def running_time(self):
40 if self.sound.isPlaying:
41 return self.sound.context.currentTime - self._start_time
42 elif self._start_time != -1.0:
43 self.stop()
44 return 0.0
45
46def get_renderer():
47 renderer = new(THREE.WebGLRenderer, antialias=True)

Callers

nothing calls this directly

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected