The engine manages the window, handles high-level displaying
and updating.
Methods
|
|
|
|
__display
|
__display ( self )
|
|
__entry
|
__entry ( self, entry )
|
|
__idle
|
__idle ( self )
|
|
__init__
|
__init__ ( self )
|
|
__keyboard
|
__keyboard (
self,
key,
x,
y,
)
|
|
__motion
|
__motion (
self,
x,
y,
)
|
|
__mouse
|
__mouse (
self,
button,
state,
x,
y,
)
|
|
__passive
|
__passive (
self,
x,
y,
)
|
|
__reshape
|
__reshape (
self,
width,
height,
)
|
|
__special
|
__special (
self,
key,
x,
y,
)
|
|
__visibility
|
__visibility ( self, visibility )
|
|
add
|
add ( self, object )
Add an object.
|
|
callbacks
|
callbacks ( self )
Register the GLUT callbacks.
|
|
clear
|
clear ( self )
Clear the display.
|
|
commit
|
commit ( self )
Commit pending changes. This only gets called if the committing
attribute is set to true.
|
|
display
|
display ( self )
Display.
|
|
extend
|
extend ( self, objects )
Add a sequence of objects.
|
|
flush
|
flush ( self )
Flush all pending drawing and show the result.
|
|
go
|
go ( self )
Set everything up and then execute the main loop.
|
|
idle
|
idle ( self )
Idle the engine.
|
|
measure
|
measure ( self )
Update frame measure.
|
|
redisplay
|
redisplay ( self )
Register a redisplay.
|
|
remove
|
remove ( self, object )
Remove an object.
|
|
reshape
|
reshape (
self,
width,
height,
)
Resize the window.
|
|
setup
|
setup ( self )
Setup the camera and interface if they're unspecified.
|
|
shutdown
|
shutdown ( self, *args )
Mark the engine as shutting down.
|
|
step
|
step ( self, count=1 )
Set to only step the engine one frame.
|
|
terminate
|
terminate ( self )
Actually terminate the process.
|
|
toggle
|
toggle ( self )
Toggle the engine between playing and pausing.
|
|
update
|
update ( self )
Update.
|