EngineOptions

Interface defining initialization parameters for Engine class

Hierarchy

  • WebGLContextAttributes
    • EngineOptions

Index

Properties

Optional alpha

alpha: boolean

Optional antialias

antialias: boolean

Optional audioEngine

audioEngine: boolean

Defines if webaudio should be initialized as well

see

http://doc.babylonjs.com/how_to/playing_sounds_and_music

Optional autoEnableWebVR

autoEnableWebVR: boolean

Defines if webvr should be enabled automatically

see

http://doc.babylonjs.com/how_to/webvr_camera

Optional depth

depth: boolean

Optional deterministicLockstep

deterministicLockstep: boolean

Defines if animations should run using a deterministic lock step

see

http://doc.babylonjs.com/babylon101/animations#deterministic-lockstep

Optional disableWebGL2Support

disableWebGL2Support: boolean

Defines if webgl2 should be turned off even if supported

see

http://doc.babylonjs.com/features/webgl2

Optional doNotHandleContextLost

doNotHandleContextLost: boolean

Defines that engine should ignore context lost events If this event happens when this parameter is true, you will have to reload the page to restore rendering

Optional failIfMajorPerformanceCaveat

failIfMajorPerformanceCaveat: boolean

Optional limitDeviceRatio

limitDeviceRatio: number

Defines if the engine should no exceed a specified device ratio

see

https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio

Optional lockstepMaxSteps

lockstepMaxSteps: number

Defines the maximum steps to use with deterministic lock step mode

Optional premultipliedAlpha

premultipliedAlpha: boolean

Optional preserveDrawingBuffer

preserveDrawingBuffer: boolean

Optional stencil

stencil: boolean

Generated using TypeDoc