public TouchData( float x, float y, int id, float radiusX, float radiusY, float rotationAngle, float force, EventFlags modifiers, PointerType pointerType )
Parameters
- x
Type: System.Single
X coordinate relative to the left side of the view.
- y
Type: System.Single
Y coordinate relative to the top side of the view.
- id
Type: System.Int32
Id of a touch point. Must be unique per touch, can be any number except -1. Note that a maximum of 16 concurrent touches will be tracked; touches beyond that will be ignored.
- radiusX
Type: System.Single
X radius in pixels. Set to 0 if not applicable.
- radiusY
Type: System.Single
Y radius in pixels. Set to 0 if not applicable.
- rotationAngle
Type: System.Single
Rotation angle in radians. Set to 0 if not applicable.
- force
Type: System.Single
The normalized pressure of the pointer input in the range of [0,1]. Set to 0 if not applicable.
- modifiers
Type: ZennoLab.CommandCenter.TouchEvents.EventFlags
Bit flags describing any pressed modifier keys. Use "bitwise or" operator when more than one modifier is pressed.
- pointerType
Type: ZennoLab.CommandCenter.TouchEvents.PointerType
The device type that caused the event.