The feature point system is used to detect feature points from real world geometry. This feature is currently experimental and only supported on BabylonNative, and should not be used in the browser. The newly introduced API can be seen in webxr.nativeextensions.d.ts and described in FeaturePoints.md.
Should auto-attach be disabled?
Is this feature disposed?
Observers registered here will be executed whenever new feature points are added (on XRFrame while the session is tracking). Will notify the observers about which feature points have been added.
Observers registered here will be executed whenever a feature point has been updated (on XRFrame while the session is tracking). Will notify the observers about which feature points have been updated.
The name of the native xr feature name (like anchor, hit-test, or hand-tracking)
The module's name
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
The current feature point cloud maintained across frames.
attach this feature
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
This function will be executed during before enabling the feature and can be used to not-allow enabling it. Note that at this point the session has NOT started, so this is purely checking if the browser supports it
whether or not the feature is compatible in this environment
Generated using TypeDoc