new InteractionData()
InteractionData constructor
Members
-
buttonnumber
-
Indicates which button was pressed on the mouse or pointer device to trigger the event.
-
buttonsnumber
-
Indicates which buttons are pressed on the mouse or pointer device when the event is triggered.
-
globalPoint
-
This point stores the global coords of where the touch/mouse event happened
-
heightnumber
-
The height of the pointer's contact along the y-axis, measured in CSS pixels.
radiusY of TouchEvents will be represented by this value. -
identifiernumber
-
Unique identifier for this interaction
-
isPrimaryBoolean
-
Indicates whether or not the pointer device that created the event is the primary pointer.
-
originalEventMouseEvent TouchEvent PointerEvent
-
When passed to an event handler, this will be the original DOM Event that was captured
-
readonlypointerIdnumber
-
The unique identifier of the pointer. It will be the same as
identifier
. -
pointerTypestring
-
The type of pointer that triggered the event.
-
pressurenumber
-
Pressure applied by the pointing device during the event. A Touch's force property
will be represented by this value. -
resolutionPoint
-
This resolution
-
rotationAnglenumber
-
From TouchEvents (not PointerEvents triggered by touches), the rotationAngle of the Touch.
-
tangentialPressurenumber
-
Barrel pressure on a stylus pointer.
-
targetObject3D
-
The target DisplayObject that was interacted with
-
tiltXnumber
-
The angle, in degrees, between the pointer device and the screen.
-
tiltYnumber
-
The angle, in degrees, between the pointer device and the screen.
-
twistnumber
-
Twist of a stylus pointer.
-
widthnumber
-
The width of the pointer's contact along the x-axis, measured in CSS pixels.
radiusX of TouchEvents will be represented by this value.