Class WebXRSpaceWarp
Hierarchy
- WebXRAbstractFeature
- WebXRSpaceWarp
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
constructor for the space warp feature
Parameters
_xrSessionManager: WebXRSessionManager
the xr session manager for this feature
Returns WebXRSpaceWarp
Properties
depends OnSearch playground for dependsOn
{@inheritdoc}
disable Auto AttachSearch playground for disableAutoAttach
Should auto-attach be disabled?
is DisposedSearch playground for isDisposed
Is this feature disposed?
space WarpRTTProviderSearch playground for spaceWarpRTTProvider
The space warp provider
xr 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
Accessors
attached
Is this feature attached
Returns boolean
Methods
attachSearch playground for attach
Attach this feature. Will usually be called by the features manager.
Returns boolean
true if successful.
detachSearch playground for detach
detach this feature.
Returns boolean
true if successful, false if failed or already detached
disposeSearch playground for dispose
{@inheritdoc}
Returns void
is CompatibleSearch playground for isCompatible
{@inheritdoc}
Returns boolean
the WebXR Space Warp feature.