pyunity.window.pygameWindow module

class pyunity.window.pygameWindow.Window(size, name)[source]

Bases: object

A window provider that uses PyGame.

start(update_func)[source]

Start the main loop of the window.

Parameters

updateFunc (function) – The function that calls the OpenGL calls.