API

Class WebXRMeshDetector

The mesh detector is used to detect meshes in the real world when in 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?

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

onMeshAddedObservable: Observable<IWebXRVertexData> = ...

Observers registered here will be executed when a new mesh was added to the session

onMeshRemovedObservable: Observable<IWebXRVertexData> = ...

Observers registered here will be executed when a mesh is no longer detected in the session

onMeshUpdatedObservable: Observable<IWebXRVertexData> = ...

Observers registered here will be executed when an existing mesh updates

Name: "xr-mesh-detection" = WebXRFeatureName.MESH_DETECTION

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