Struct Touch
Represents a single touch point within a multi-touch input event.
public struct Touch
- Inherited Members
Remarks
This structure contains identifying and positional data for a specific finger or contact point on a touch surface. Multiple Touch instances may be reported in a single event when handling gestures or complex touch interactions.
Fields
Index
A unique index identifying this touch point during its lifetime. Typically assigned by the platform and reused after release.
public int Index
Field Value
Phase
The current phase of the touch (e.g., began, moved, ended).
public TouchPhase Phase
Field Value
Position
The current position of the touch in logical window coordinates.
public Point Position
Field Value
Radius
The estimated contact radius of the touch, in logical units. Used for gesture recognition or pressure emulation.
public NFloat Radius