OptionalcanvasThe ID of the canvas element in the DOM. Defaults to "SmallWorld".
OptionalenableWhether to enable the built-in Gadget Inspector overlay (defaults to false/true depending on setup).
OptionalenableWhether to step the built-in PhysicsSystem (this.physics) automatically every frame. Defaults to false.
OptionalfullscreenWhether the engine should automatically resize the canvas to full screen.
OptionalgravityInitial gravity vector for the built-in physics system, e.g. [0, -9.81, 0]. Defaults to the PhysicsSystem default.
OptionalheightFixed height in pixels (ignored if fullscreen is true).
OptionalinputThe behavior of horizontal input keys (A/D). Defaults to TANK.
OptionalpostOptional post-processing settings.
OptionalprojectionA fully constructed projection instance. When provided, projectionOptions and projection type are ignored. Use this to supply a custom or third-party projection.
OptionalprojectionProjection startup parameters (near, far, fov, orthoSize).
OptionalprojectionDefault camera projection type.
OptionalqualityOptional quality settings.
OptionalrendererPer-backend renderer configuration, keyed by backend (WEB_GPU/WEB_GL2/WEB_GL1).
OptionalrendererPrimary renderer type to attempt initialization.
OptionalwidthFixed width in pixels (ignored if fullscreen is true).
Global engine configuration options.