Class: InputOptions
Defined in: src/core/Options.ts:22
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:28
Whether to enable debugging features for controllers.
enabled
enabled:
boolean=true
Defined in: src/core/Options.ts:24
Whether controller input is enabled.
enabledMouse
enabledMouse:
boolean=true
Defined in: src/core/Options.ts:26
Whether mouse input should act as a controller on desktop.
visualization
visualization:
boolean=false
Defined in: src/core/Options.ts:30
Whether to show controller models.
visualizeRays
visualizeRays:
boolean=false
Defined in: src/core/Options.ts:32
Whether to show the ray lines extending from the controllers.