Skip to main content

Class: InputOptions

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

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

Whether to enable debugging features for controllers.


enabled​

enabled: boolean = true

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

Whether controller input is enabled.


enabledMouse​

enabledMouse: boolean = true

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

Whether mouse input should act as a controller on desktop.


visualization​

visualization: boolean = false

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

Whether to show controller models.


visualizeRays​

visualizeRays: boolean = false

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

Whether to show the ray lines extending from the controllers.