Skip to content

Variable: TOUCH_DEFAULTS

const TOUCH_DEFAULTS: object

Defined in: packages/xr-input/src/pointer/touch-pointer.ts:15

Default distance thresholds for poke/touch interactions (in meters)

Type Declaration

clickThresholdMs

clickThresholdMs: number = 800

Maximum time between pointerdown and pointerup to register as a click

downRadius

downRadius: number = 0.02

Distance at which touch pointer auto-selects (triggers down)

hoverRadius

hoverRadius: number = 0.2

Distance at which touch pointer detects hover (max detection range)

Privacy | Terms