Skip to main content

Type Alias: ScenegraphInteractionEvent

ScenegraphInteractionEvent = object

Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:41

One bubbled host interaction event.

Properties​

controllerIndex​

controllerIndex: number

Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:48

Identifies the pointer or controller.


currentTarget​

currentTarget: ScenegraphNode

Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:46

Node receiving this step of the event's upward propagation.


hit​

hit: ScenegraphInteractionHit

Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:50

The original host hit associated with this event.


target​

target: ScenegraphNode

Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:44

Target object where the interaction began or ended.


type​

type: "select" | "hover-in" | "hover-out"

Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:42