Table of Contents

Class TouchInputScheme

Namespace
OmegaEngine.Input
Assembly
OmegaEngine.dll

Controls which touch gesture does what.

public record TouchInputScheme : IEquatable<TouchInputScheme>
Inheritance
object
TouchInputScheme
Implements

Constructors

TouchInputScheme(Navigation?, NavigationAxis?, NavigationAxis?)

Controls which touch gesture does what.

public TouchInputScheme(Navigation? Pan = null, NavigationAxis? Pinch = null, NavigationAxis? Twist = null)

Parameters

Pan Navigation

How to handle dragging one or more contacts (panning).

Pinch NavigationAxis?

Which axis the pinch-to-zoom (scale) gesture drives.

Twist NavigationAxis?

Which axis the two-finger rotation (twist) gesture drives.

Properties

Orbit

Orbit around a fixed target. Pan rotates, pinch zooms, twist rolls. Suitable for inspecting a single object or focal point.

public static TouchInputScheme Orbit { get; }

Property Value

TouchInputScheme

Pan

How to handle dragging one or more contacts (panning).

public Navigation? Pan { get; init; }

Property Value

Navigation

Pinch

Which axis the pinch-to-zoom (scale) gesture drives.

public NavigationAxis? Pinch { get; init; }

Property Value

NavigationAxis?

Planar

Focuses on movement constrained to a plane. Pan translates XY, pinch zooms, twist rotates (yaw). Ideal for top-down or strategy-style navigation.

public static TouchInputScheme Planar { get; }

Property Value

TouchInputScheme

Scene

Scene navigation with translation, zoom and roll. Pan translates XY, pinch zooms, twist rolls. Designed for general-purpose scene inspection.

public static TouchInputScheme Scene { get; }

Property Value

TouchInputScheme

Twist

Which axis the two-finger rotation (twist) gesture drives.

public NavigationAxis? Twist { get; init; }

Property Value

NavigationAxis?