Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWebXRNearInteractionOptions

Options interface for the near interaction module

Hierarchy

  • IWebXRNearInteractionOptions

Index

Properties

Optional customUtilityLayerSceneSearch playground for customUtilityLayerScene

customUtilityLayerScene: Scene

If provided, this scene will be used to render meshes.

Optional disableSwitchOnClickSearch playground for disableSwitchOnClick

disableSwitchOnClick: boolean

Disable switching the near interaction from one controller to the other. If the preferred hand is set it will be fixed on this hand, and if not it will be fixed on the first controller added to the scene

Optional enableNearInteractionOnAllControllersSearch playground for enableNearInteractionOnAllControllers

enableNearInteractionOnAllControllers: boolean

Enable near interaction on all controllers instead of switching between them

Optional farInteractionFeatureSearch playground for farInteractionFeature

farInteractionFeature: WebXRAbstractFeature

Far interaction feature to toggle when near interaction takes precedence

Optional preferredHandednessSearch playground for preferredHandedness

preferredHandedness: XRHandedness

The preferred hand to give the near interaction to. This will be prioritized when the controller initialize. If switch is enabled, it will still allow the user to switch between the different controllers

Optional useUtilityLayerSearch playground for useUtilityLayer

useUtilityLayer: boolean

Should meshes created here be added to a utility layer or the main scene

xrInputSearch playground for xrInput

xrInput: WebXRInput

The xr input to use with this near interaction

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method