Skip to main content

Interface: InteractionEvent

Defined in: webxr-interactions/src/events.ts:29

Properties

PropertyTypeDescriptionDefined in
behaviourKind?stringThe behaviour that produced the event, when behaviour-scoped.webxr-interactions/src/events.ts:34
interactableIdstringThe target interactable.webxr-interactions/src/events.ts:32
interactorId?stringThe input source/interactor involved, when input-scoped.webxr-interactions/src/events.ts:36
reason?stringWhy a behaviour was disabled (unmet capability requirements).webxr-interactions/src/events.ts:40
typeInteractionEventType-webxr-interactions/src/events.ts:30
value?numberAnalog payload (valueChanged, dwellProgress) or 1/0 for digital.webxr-interactions/src/events.ts:38