IWebXRInputOptions

The schema for initialization options of the XR Input class

Hierarchy

  • IWebXRInputOptions

Index

Properties

Optional customControllersRepositoryURL

Find examples in Playground
customControllersRepositoryURL: string

A custom URL for the controllers repository

Optional disableControllerAnimation

Find examples in Playground
disableControllerAnimation: boolean

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

Optional disableOnlineControllerRepository

Find examples in Playground
disableOnlineControllerRepository: boolean

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

Instead, use the controllers available in babylon itself.

Optional doNotLoadControllerMeshes

Find examples in Playground
doNotLoadControllerMeshes: boolean

If set to true no model will be automatically loaded

Optional forceInputProfile

Find examples in Playground
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/

Generated using TypeDoc