Skip to main content

Class: InputOptions

Defined in: src/core/Options.ts:17

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:23

Whether to enable debugging features for controllers.


enabled

enabled: boolean = true

Defined in: src/core/Options.ts:19

Whether controller input is enabled.


enabledMouse

enabledMouse: boolean = true

Defined in: src/core/Options.ts:21

Whether mouse input should act as a controller on desktop.


visualization

visualization: boolean = false

Defined in: src/core/Options.ts:25

Whether to show controller models.


visualizeRays

visualizeRays: boolean = false

Defined in: src/core/Options.ts:27

Whether to show the ray lines extending from the controllers.