API

Class WebXRDepthSensingSince

WebXR Feature for WebXR Depth Sensing Module 5.49.1

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

onGetDepthInMetersAvailable: Observable<GetDepthInMetersType> = ...

Event that notify when DepthInformation.getDepthInMeters is available. getDepthInMeters method needs active XRFrame (not available for cached XRFrame)

options for WebXR Depth Sensing Feature

Name: "xr-depth-sensing" = WebXRFeatureName.DEPTH_SENSING

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