EngineOptions

Interface defining initialization parameters for Engine class

Hierarchy

  • WebGLContextAttributes
    • EngineOptions

Index

Properties

Optional alpha

Find examples in Playground
alpha: boolean

Optional antialias

Find examples in Playground
antialias: boolean

Optional audioEngine

Find examples in Playground
audioEngine: boolean

Defines if webaudio should be initialized as well

see

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

Optional autoEnableWebVR

Find examples in Playground
autoEnableWebVR: boolean

Defines if webvr should be enabled automatically

see

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

Optional depth

Find examples in Playground
depth: boolean

Optional deterministicLockstep

Find examples in Playground
deterministicLockstep: boolean

Defines if animations should run using a deterministic lock step

see

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

Optional disableWebGL2Support

Find examples in Playground
disableWebGL2Support: boolean

Defines if webgl2 should be turned off even if supported

see

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

Optional doNotHandleContextLost

Find examples in Playground
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

Find examples in Playground
failIfMajorPerformanceCaveat: boolean

Optional limitDeviceRatio

Find examples in Playground
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

Find examples in Playground
lockstepMaxSteps: number

Defines the maximum steps to use with deterministic lock step mode

Optional premultipliedAlpha

Find examples in Playground
premultipliedAlpha: boolean

Optional preserveDrawingBuffer

Find examples in Playground
preserveDrawingBuffer: boolean

Optional stencil

Find examples in Playground
stencil: boolean

Generated using TypeDoc