Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface defining initialization parameters for ThinEngine class

Hierarchy

Index

Properties

adaptToDeviceRatio?: boolean

Defines whether to adapt to the device's viewport characteristics (default: false)

antialias?: boolean

Defines whether MSAA is enabled on the canvas.

audioEngine?: boolean

Defines if webaudio should be initialized as well

see

https://doc.babylonjs.com/features/featuresDeepDive/audio/playingSoundsMusic

audioEngineOptions?: IAudioEngineOptions

Specifies options for the audio engine

deterministicLockstep?: boolean

Defines if animations should run using a deterministic lock step

see

https://doc.babylonjs.com/features/featuresDeepDive/animation/advanced_animations#deterministic-lockstep

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

doNotHandleTouchAction?: boolean

Defines that engine should ignore modifying touch action attribute and style If not handle, you might need to set it up on your side for expected touch devices behavior.

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

lockstepMaxSteps?: number

Defines the maximum steps to use with deterministic lock step mode

premultipliedAlpha?: boolean

Defines whether the canvas should be created in "premultiplied" mode (if false, the canvas is created in the "opaque" mode) (true by default)

stencil?: boolean

Defines whether the stencil buffer should be enabled.

timeStep?: number

Defines the seconds between each deterministic lock step

useExactSrgbConversions?: boolean

True if the more expensive but exact conversions should be used for transforming colors to and from linear space within shaders. Otherwise, the default is to use a cheaper approximation.

useHighPrecisionMatrix?: boolean

Make the matrix computations to be performed in 64 bits instead of 32 bits. False by default

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme