WebXRInput

XR input used to track XR inputs such as controllers/rays

Hierarchy

  • WebXRInput

Implements

Index

Constructors

constructor

Find examples in Playground

Properties

baseExperience

Find examples in Playground
baseExperience: WebXRExperienceHelper

Base experience the input listens to

controllers

Find examples in Playground
controllers: Array<WebXRController>

XR controllers being tracked

onControllerAddedObservable

Find examples in Playground
onControllerAddedObservable: Observable<WebXRController>

Event when a controller has been connected/added

onControllerRemovedObservable

Find examples in Playground
onControllerRemovedObservable: Observable<WebXRController>

Event when a controller has been removed/disconnected

Methods

dispose

Find examples in Playground
  • dispose(): void

Generated using TypeDoc