Class WebXRDefaultExperience
Properties
base Experience
Base experience
enter Exit UI
Enables ui for entering/exiting xr
input
Input experience extension
near Interaction
Enables near interaction for hands/controllers
pointer Selection
Enables laser pointer and selection
render Target
Default target xr should render to
teleportation
Enables teleportation
Methods
dispose
-
Disposes of the experience helper
Returns void
StaticCreate Async
-
CreateAsync(
scene: Scene,
options?: WebXRDefaultExperienceOptions,
): Promise<WebXRDefaultExperience>Creates the default xr experience
Parameters
- scene: Scene
scene
- options: WebXRDefaultExperienceOptions = {}
options for basic configuration
Returns Promise<WebXRDefaultExperience>
resulting WebXRDefaultExperience
- scene: Scene
Default experience for webxr