Class WebXRInput
Hierarchy
- WebXRInput
Implements
Index
Constructors
Properties
Methods
Constructors
constructor
Initializes the WebXRInput
Parameters
xrSessionManager: WebXRSessionManager
the xr session manager for this session
xrCamera: WebXRCamera
the WebXR camera for this session. Mainly used for teleportation
Optional _options: IWebXRInputOptions
= initialization options for this xr input
Returns WebXRInput
Properties
controllersSearch playground for controllers
XR controllers being tracked
on Controller Added ObservableSearch playground for onControllerAddedObservable
Event when a controller has been connected/added
on Controller Removed ObservableSearch playground for onControllerRemovedObservable
Event when a controller has been removed/disconnected
xr CameraSearch playground for xrCamera
the WebXR camera for this session. Mainly used for teleportation
xr Session ManagerSearch playground for xrSessionManager
the xr session manager for this session
Methods
disposeSearch playground for dispose
Disposes of the object
Returns void
XR input used to track XR inputs such as controllers/rays