Readonlybuttonmouse button 0 === LEFT, 1 === MIDDLE, 2 === RIGHT
OptionaldistanceThe distance of the hit point from the origin
Readonlyeventthe original event
OptionalfaceWho initiated this event
OptionalinstanceThe instance ID of an object hit by a raycast (if a instanced object was hit)
OptionalintersectionThe three intersection
OptionalnormalThe object-space normal of this event
The object this event hit or interacted with
OptionalpointThe world position of this event
the index of the used device
mouse and touch are always 0, controller is the gamepad index or XRController index
Returns the input target ray mode e.g. "screen" for 2D mouse and touch events
a combination of the pointerId + button to uniquely identify the exact input (e.g. LeftController:Button0 = 0, RightController:Button1 = 101)
true when use() has been called. Default: false
This pointer event data object is passed to all event receivers that are currently active
It contains hit information if an object was hovered or clicked
If the event is received in onPointerDown or onPointerMove, you can call
setPointerCaptureto receive onPointerMove events even when the pointer has left the object until you callreleasePointerCaptureor when the pointerUp event happensYou can get additional information about the event or event source via the
eventproperty (of typeNEPointerEvent)