Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWebXRInputOptions

The schema for initialization options of the XR Input class

Hierarchy

  • IWebXRInputOptions

Index

Properties

Optional controllerOptionsSearch playground for controllerOptions

controllerOptions: IWebXRControllerOptions

Optional options to pass to the controller. Will be overridden by the Input options where applicable

Optional customControllersRepositoryURLSearch playground for customControllersRepositoryURL

customControllersRepositoryURL: string

A custom URL for the controllers repository

Optional disableControllerAnimationSearch playground for disableControllerAnimation

disableControllerAnimation: boolean

Should the controller model's components not move according to the user input

Optional disableOnlineControllerRepositorySearch playground for disableOnlineControllerRepository

disableOnlineControllerRepository: boolean

Do not send a request to the controller repository to load the profile.

Instead, use the controllers available in babylon itself.

Optional doNotLoadControllerMeshesSearch playground for doNotLoadControllerMeshes

doNotLoadControllerMeshes: boolean

If set to true no model will be automatically loaded

Optional forceInputProfileSearch playground for forceInputProfile

forceInputProfile: string

If set, this profile will be used for all controllers loaded (for example "microsoft-mixed-reality") If not found, the xr input profile data will be used. Profiles are defined here - https://github.com/immersive-web/webxr-input-profiles/

Legend

  • Property
  • Method
  • Constructor
  • Property
  • Static method