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

Next topic

schedule_interval