Constructor
new ScenePainter(scene, drawFunc)
Parameters:
Name | Type | Default | Description |
---|---|---|---|
scene |
GeometryScene | The scene to draw | |
drawFunc |
ScenePainter~drawCallback | null | The function that draws the scene. Additional parameters give information about what happened since the last draw |
- Source:
Methods
start()
Starts the drawing update. Will enqueue a drawing operation
- Source:
stop()
Stops the drawing from updating
- Source: