Class: InputOptions
Defined in: src/core/Options.ts:26
Default options for XR controllers, which encompass hands by default in Android XR, mouse input on desktop, tracked controllers, and gamepads.
Constructors
Constructor
new InputOptions():
InputOptions
Returns
InputOptions
Properties
debug
debug:
boolean=false
Defined in: src/core/Options.ts:32
Whether to enable debugging features for controllers.
enabled
enabled:
boolean=true
Defined in: src/core/Options.ts:28
Whether controller input is enabled.
enabledMouse
enabledMouse:
boolean=true
Defined in: src/core/Options.ts:30
Whether mouse input should act as a controller on desktop.
performRaycastOnUpdate
performRaycastOnUpdate:
boolean=true
Defined in: src/core/Options.ts:38
Whether to perform raycast on update. This is needed for the reticle to work properly.
visualization
visualization:
boolean=false
Defined in: src/core/Options.ts:34
Whether to show controller models.
visualizeRays
visualizeRays:
boolean=false
Defined in: src/core/Options.ts:36
Whether to show the ray lines extending from the controllers.