Table of Contents

Class TouchInputProvider

Namespace
OmegaEngine.Input
Assembly
OmegaEngine.dll

Processes touch events into higher-level navigational commands.

public class TouchInputProvider : InputProvider, IDisposable
Inheritance
object
TouchInputProvider
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

control ITouchControl

The control receiving the touch events.

Properties

PanSensitivity

A factor used to scale panning (drag) input.

public double PanSensitivity { get; set; }

Property Value

double

RotationSensitivity

A factor used to scale rotation (twist) input.

public double RotationSensitivity { get; set; }

Property Value

double

Scheme

Controls which touch gesture does what.

public TouchInputScheme Scheme { get; set; }

Property Value

TouchInputScheme

ZoomSensitivity

A factor used to scale zoom (pinch) input.

public double ZoomSensitivity { get; set; }

Property Value

double

Methods

Dispose(bool)

To be called by Dispose() and the object destructor.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if called manually and not by the garbage collector.