schedule Function

Defined in pyglet.clock

schedule(func, *args, **kwargs)

Schedule ‘func’ to be called every frame on the default clock.

The arguments passed to func are dt, followed by any *args and **kwargs given here.

Parameters:func (function) – The function to call each frame.

Previous topic

get_sleep_time Function

Next topic

schedule_interval Function