The plane detector is used to detect planes in the real world when in AR For more information see https://github.com/immersive-web/real-world-geometry/
Auto AttachSearch playground for disableAutoAttach
Should auto-attach be disabled?
DisposedSearch playground for isDisposed
Is this feature disposed?
Plane Added ObservableSearch playground for onPlaneAddedObservable
Observers registered here will be executed when a new plane was added to the session
Plane Removed ObservableSearch playground for onPlaneRemovedObservable
Observers registered here will be executed when a plane is no longer detected in the session
Plane Updated ObservableSearch playground for onPlaneUpdatedObservable
Observers registered here will be executed when an existing plane updates (for example - expanded) This can execute N times every frame
Native Feature NameSearch playground for xrNativeFeatureName
The name of the native xr feature name (like anchor, hit-test, or hand-tracking)
Static Readonly NameSearch playground for Name
The module's name
Static Readonly VersionSearch playground for Version
The (Babylon) version of this module. This is an integer representing the implementation version. This number does not correspond to the WebXR specs version
Is this feature attached
attach this feature
Optional force: boolean
should attachment be forced (even when already attached)
true if successful, false is failed or already attached
detach this feature. Will usually be called by the features manager
true if successful.
Dispose this feature and all of the resources attached
Room CaptureSearch playground for initiateRoomCapture
Enable room capture mode. When enabled and supported by the system, the detectedPlanes array will be populated with the detected room boundaries
true if plane detection is enabled and supported. Will reject if not supported.
CompatibleSearch playground for isCompatible
Check if the needed objects are defined. This does not mean that the feature is enabled, but that the objects needed are well defined.