Represents a XRInputSourceEvent fired on a ElementComponent.
new ElementSelectEvent(
event: XRInputSourceEvent,
element: ElementComponent,
camera: CameraComponent,
inputSource: XrInputSource): ElementSelectEvent
Create an instance of a ElementSelectEvent.
XRInputSourceEvent
The XRInputSourceEvent that was originally raised.
The ElementComponent that this event was originally raised on.
The CameraComponent that this event was originally raised via.
XrInputSource
The XR input source that this event was originally raised from.
camera: CameraComponent
The CameraComponent that this event was originally raised via.
element: ElementComponent
The ElementComponent that this event was originally raised on.
event: MouseEvent | TouchEvent
MouseEvent or TouchEvent that was originally raised.
inputSource: XrInputSource
The XR input source that this event was originally raised from.
stopPropagation(): void
Stop propagation of the event to parent ElementComponents. This also stops propagation of the event to other event listeners of the original DOM Event.
void