|
FabGL
ESP32 VGA Controller and Graphics Library
|
| fabgl::Scene::Scene | ( | int | maxSpritesCount, |
| int | updateTimeMS = 20, |
||
| int | width = Canvas.getWidth(), |
||
| int | height = Canvas.getHeight() |
||
| ) |
The Scene constructor.
| maxSpritesCount | Specifies maximum number of sprites. This is required to size the collision detector object. |
| updateTimeMS | Number of milliseconds between updates. Scene.update() is called whenever an update occurs. |
| width | The scene width in pixels. |
| height | The scene height in pixels. |