1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
.. py:module:: moderngl_window.timers.clock
.. py:currentmodule:: moderngl_window.timers.clock
clock.Timer
===========
.. autodata:: Timer
:annotation:
Methods
-------
.. automethod:: Timer.__init__
.. automethod:: Timer.next_frame
.. automethod:: Timer.start
.. automethod:: Timer.pause
.. automethod:: Timer.toggle_pause
.. automethod:: Timer.stop
Attributes
----------
.. autoattribute:: Timer.is_paused
.. autoattribute:: Timer.is_running
.. autoattribute:: Timer.time
|