TouchFingerEvent

The Finger Touch Event structure

Members

Variables

dx
float dx;

The distance of the x coordinate (since the last event) in range of 0 .. 1

dy
float dy;

The distance of the y coordinate (since the last event) in range of 0 .. 1

fingerId
long fingerId;

The id of the finger who touched the device

pressure
float pressure;

The quantity of pressure applied in range of 0 .. 1

touchId
long touchId;

The id of the touch device

x
float x;

The x coordinate of the touch event, in range of 0 .. 1 Multiply it with the width if the Window to get the real x coordinate

y
float y;

The y coordinate of the touch event, in range of 0 .. 1 Multiply it with the height if the Window to get the real y coordinate

Meta