Skip to main content

Class: InputOptions

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

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

Whether to enable debugging features for controllers.


enabled​

enabled: boolean = true

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

Whether controller input is enabled.


enabledMouse​

enabledMouse: boolean = true

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

Whether mouse input should act as a controller on desktop.


visualization​

visualization: boolean = false

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

Whether to show controller models.


visualizeRays​

visualizeRays: boolean = false

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

Whether to show the ray lines extending from the controllers.