WebXRBackgroundRemover

A module that will automatically disable background meshes when entering AR and will enable them when leaving AR.

Hierarchy

Implements

Index

Constructors

constructor

Find examples in Playground

Properties

onBackgroundStateChangedObservable

Find examples in Playground
onBackgroundStateChangedObservable: Observable<boolean>

registered observers will be triggered when the background state changes

options

Find examples in Playground

read-only options to be used in this module

Static Name

Find examples in Playground
Name: string

The module's name

Static Version

Find examples in Playground
Version: number

The (Babylon) version of this module. This is an integer representing the implementation version. This number does not correspond to the webxr specs version

Accessors

attached

Find examples in Playground
  • get attached(): boolean

Methods

attach

Find examples in Playground
  • attach(): boolean

detach

Find examples in Playground
  • detach(): boolean

dispose

Find examples in Playground
  • dispose(): void

Generated using TypeDoc