Class WebXRDefaultExperience
Hierarchy
- WebXRDefaultExperience
Index
Properties
Methods
Properties
base ExperienceSearch playground for baseExperience
Base experience
enter ExitUISearch playground for enterExitUI
Enables ui for entering/exiting xr
inputSearch playground for input
Input experience extension
pointer SelectionSearch playground for pointerSelection
Enables laser pointer and selection
render TargetSearch playground for renderTarget
Default target xr should render to
teleportationSearch playground for teleportation
Enables teleportation
Methods
disposeSearch playground for dispose
-
DIsposes of the experience helper
Returns void
Static Create AsyncSearch playground for CreateAsync
-
Creates the default xr experience
Parameters
-
scene: Scene
scene
-
Optional options: WebXRDefaultExperienceOptions
options for basic configuration
Returns Promise<WebXRDefaultExperience>
resulting WebXRDefaultExperience
-
Default experience which provides a similar setup to the previous webVRExperience