| Trees | Indices | Toggle frames |
|---|
pyglet.clock._ClockBase --+
|
pyglet.clock.Clock --+
|
ScreenReaderClock_12dev
Make frames happen every 1/framerate and takes screenshots
This class is compatible with pyglet 1.2dev, it is not compatible with pyglet 1.1.4release
|
__init__(self,
framerate,
template,
duration)
Initialise a Clock, with optional framerate limit and custom
time function.
|
|
| float |
update_time(self)
Additionally, take snapshots.
|
| float |
get_sleep_time(self,
sleep_idle)
sleep time between frames; 0.0 as as we want to run as fast as possible
|
Inherited from pyglet.clock.Clock:
call_scheduled_functions,
get_fps,
get_fps_limit,
schedule,
schedule_interval,
schedule_interval_soft,
schedule_once,
set_fps_limit,
tick,
unschedule
Inherited from pyglet.clock._ClockBase:
sleep
|
|
Inherited from pyglet.clock.Clock:
MIN_SLEEP,
SLEEP_UNDERSHOOT
|
Since: pyglet 1.2
Since: pyglet 1.1
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Sun Aug 12 20:39:19 2012 | http://epydoc.sourceforge.net |