Class WebXRDefaultExperienceOptions
Hierarchy
- WebXRDefaultExperienceOptions
Index
Constructors
Properties
Constructors
constructor
Returns WebXRDefaultExperienceOptions
Properties
Optional disable DefaultUISearch playground for disableDefaultUI
Enable or disable default UI to enter XR
Optional disable Near InteractionSearch playground for disableNearInteraction
Should nearInteraction not initialize. Defaults to false.
Optional disable Pointer SelectionSearch playground for disablePointerSelection
Should pointer selection not initialize. Note that disabling pointer selection also disables teleportation. Defaults to false.
Optional disable TeleportationSearch playground for disableTeleportation
Should teleportation not initialize. Defaults to false.
Optional floor MeshesSearch playground for floorMeshes
Floor meshes that will be used for teleport
Optional ignore Native Camera TransformationSearch playground for ignoreNativeCameraTransformation
If set to true, the first frame will not be used to reset position The first frame is mainly used when copying transformation from the old camera Mainly used in AR
Optional input OptionsSearch playground for inputOptions
Optional configuration for the XR input object
Optional near Interaction OptionsSearch playground for nearInteractionOptions
optional configuration for near interaction
Optional optional FeaturesSearch playground for optionalFeatures
A list of optional features to init the session with If set to true, all features we support will be added
Optional output Canvas OptionsSearch playground for outputCanvasOptions
optional configuration for the output canvas
Optional pointer Selection OptionsSearch playground for pointerSelectionOptions
optional configuration for pointer selection
Optional rendering Group IdSearch playground for renderingGroupId
An optional rendering group id that will be set globally for teleportation, pointer selection and default controller meshes
Optional teleportation OptionsSearch playground for teleportationOptions
optional configuration for teleportation
Optional ui OptionsSearch playground for uiOptions
optional UI options. This can be used among other to change session mode and reference space type
Optional use Stable PluginsSearch playground for useStablePlugins
When loading teleportation and pointer select, use stable versions instead of latest.
Options for the default xr helper