Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EngineOptions

Options available to the engine.

Hierarchy

  • EngineOptions

Index

Properties

container?: string

A DOMString to the container of the engine's canvas.

default

'body'

framerate?: number

If set, gives a maximum framerate for the engine's fixed update loop.

default

null

fullscreen?: boolean

If true, sets the width and height of the engine's canvas to follow the container's size.

default

true

height?: number

Height of the engine's canvas.

default

720

resolution?: number

Resolution used by the engine's canvas.

default

true

width?: number

Width of the engine's canvas.

default

1280

Generated using TypeDoc