Class TouchInputProvider
- Namespace
- OmegaEngine.Input
- Assembly
- OmegaEngine.dll
Processes touch events into higher-level navigational commands.
public class TouchInputProvider : InputProvider, IDisposable
- Inheritance
-
objectTouchInputProvider
- Implements
- Inherited Members
Remarks
Complex manipulations with combined panning, rotating and zooming are possible.
Constructors
TouchInputProvider(ITouchControl)
Starts monitoring and processing Touch events received by a specific control.
public TouchInputProvider(ITouchControl control)
Parameters
controlITouchControlThe control receiving the touch events.
Properties
PanSensitivity
A factor used to scale panning (drag) input.
public double PanSensitivity { get; set; }
Property Value
RotationSensitivity
A factor used to scale rotation (twist) input.
public double RotationSensitivity { get; set; }
Property Value
Scheme
Controls which touch gesture does what.
public TouchInputScheme Scheme { get; set; }
Property Value
ZoomSensitivity
A factor used to scale zoom (pinch) input.
public double ZoomSensitivity { get; set; }
Property Value
Methods
Dispose(bool)
To be called by Dispose() and the object destructor.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrueif called manually and not by the garbage collector.