API

Class WebXRBackgroundRemover

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

Hierarchy (View Summary)

Index
dependsOn?: string[]

The dependencies of this feature, if any

disableAutoAttach: boolean = false

Should auto-attach be disabled?

isDisposed: boolean = false

Is this feature disposed?

onBackgroundStateChangedObservable: Observable<boolean> = ...

registered observers will be triggered when the background state changes

onFeatureAttachObservable: Observable<IWebXRFeature> = ...

Observers registered here will be executed when the feature is attached

onFeatureDetachObservable: Observable<IWebXRFeature> = ...

Observers registered here will be executed when the feature is detached

[Empty Object] read-only options to be used in this module

Name: "xr-background-remover" = WebXRFeatureName.BACKGROUND_REMOVER

The module's name

Version: 1

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