Skip to main content

Interface: LongSelectEvent

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

Event sent after a captured selection is held past the long-select delay.

Extends

Properties

currentTarget?

readonly optional currentTarget: Script<Object3DEventMap>

Defined in: src/core/Script.ts:13

Inherited from

SelectEvent.currentTarget


duration

duration: number

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

How long the selection has been held, in seconds.


intersection?

readonly optional intersection: Intersection<Object3D<Object3DEventMap>>

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

Current ray intersection on surface, when the source still hits it.

Inherited from

SelectEvent.intersection


source

readonly source: InteractionSource

Defined in: src/core/Script.ts:11

Inherited from

SelectEvent.source


surface?

readonly optional surface: Object3D<Object3DEventMap>

Defined in: src/core/Script.ts:15

Public hit surface. Private renderer meshes are normalized to their owner.

Inherited from

SelectEvent.surface


target?

readonly optional target: Object3D<Object3DEventMap>

Defined in: src/core/Script.ts:12

Inherited from

SelectEvent.target

Methods

stopPropagation()

stopPropagation(): void

Defined in: src/core/Script.ts:18

Returns

void

Inherited from

SelectEvent.stopPropagation