MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / timer_callback

Method timer_callback

scripts/python/ui/ui_demo.py:324–330  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

322 self.counter_button.label = f"Clicked {self.counter} times"
323
324 def timer_callback(self):
325 self.timer = None
326 if self.running:
327 self.progress_bar.fraction += 0.01
328 if self.progress_bar.fraction < 1:
329 self.timer = threading.Timer(0.05, self.timer_callback)
330 self.timer.start()
331
332 def start_stop(self):
333 if self.running:

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected