Skip to main content

Namespace: InkInput

InkInput

Classes

Environment

InkInputProvider

InputContext

InputDevice

Scalar

SensorChannel

SensorChannelsContext

SensorContext

SensorData

SensorStream

Interfaces

InkController

Type Definitions

Pointer

Input pointer definition

Properties:
NameTypeDescription
idintA unique identifier for the pointer causing the event
typestringPointer type - mouse, touch or pen
buttonintThe button number that was pressed (if applicable) when the mouse event was fired.
buttonsintThe buttons being depressed (if any) when the mouse event was fired.
providerInkInput.InkInputProvider.TypePointer type representation

SensorPoint

Point input definition

Properties:
NameTypeAttributesDescription
xfloatPointer x coordinate
yfloatPointer y coordinate
zfloat<optional>Pointer z coordinate
timestamplongTime when is gathered event
pressurefloat<optional>The normalized pressure of the pointer input in the range of 0 to 1, where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively
forcefloat<optional>Pressure alias
radiusXfloat<optional>Touch radius - x radius of the ellipse that most closely circumscribes the area of contact with the screen. The value is in pixels of the same scale as screenX.
radiusYfloat<optional>Touch radius - y radius of the ellipse that most closely circumscribes the area of contact with the screen. The value is in pixels of the same scale as screenY.
tiltXfloat<optional>The plane angle (in degrees, in the range of 0 to 2 * Pi) between the Y-Z plane and the plane containing both the transducer (e.g. pen stylus) axis and the Y axis
tiltYfloat<optional>The plane angle (in degrees, in the range of 0 to 2 * Pi) between the X-Z plane and the plane containing both the transducer (e.g. pen stylus) axis and the X axis
rotationfloat<optional>Value representing the amount of twist, in radians, applied to the transducer (pointer). The value is in the range 0 to 2 * Pi, inclusive.For devices that do not report twist, the value is 0.
phasePathBuilding.Pipeline.PhaseEvent phase representation
pointerInkInput.PointerDescribes where this data comes from
providerInkInput.InkInputProvider.TypeInk input provider type
predictedArray.<SensorPoint><optional>Prediction points provided from input provider, available for pen input only.
coalescedArray.<SensorPoint><optional>Coalesced points provided from input provider, available for pen input only.

SensorPointProps

Sensor point initial props

Properties:
NameTypeAttributesDescription
pointerIDintPointer identifier
xfloatInitial pointer x coordinate
yfloatInitial pointer y coordinate
zfloat<optional>Initial pointer z coordinate

Home