FabGL
ESP32 Display Controller and Graphics Library

◆ Scene()

Scene ( int  maxSpritesCount,
int  updateTimeMS,
int  width,
int  height,
int  stackSize = FABGL_DEFAULT_SCENETASK_STACKSIZE 
)

The Scene constructor.

Parameters
maxSpritesCountSpecifies maximum number of sprites. This is required to size the collision detector object.
updateTimeMSNumber of milliseconds between updates. Scene.update() is called whenever an update occurs.
widthThe scene width in pixels.
heightThe scene height in pixels.
stackSizeSize of update task stack.

Definition at line 38 of file scene.cpp.