Table of Contents

Class MouseInputScheme

Namespace
OmegaEngine.Input
Assembly
OmegaEngine.dll

Controls which mouse button does what.

public record MouseInputScheme : IEquatable<MouseInputScheme>
Inheritance
MouseInputScheme
Implements
Inherited Members
Extension Methods

Constructors

MouseInputScheme(MouseAction?, MouseAction?, MouseAction?)

Controls which mouse button does what.

public MouseInputScheme(MouseAction? LeftDrag = null, MouseAction? RightDrag = null, MouseAction? MiddleDrag = null)

Parameters

LeftDrag MouseAction

How to handle dragging the mouse while the left button is pressed.

RightDrag MouseAction

How to handle dragging the mouse while the right button is pressed.

MiddleDrag MouseAction

How to handle dragging the mouse while the middle button or both the left and the right button are pressed.

Properties

FreeLook

Enables free-look navigation. Left button for rotation, right button for XZ movement. Suitable for first-person navigation scenarios.

public static MouseInputScheme FreeLook { get; }

Property Value

MouseInputScheme

LeftDrag

How to handle dragging the mouse while the left button is pressed.

public MouseAction? LeftDrag { get; init; }

Property Value

MouseAction

MiddleDrag

How to handle dragging the mouse while the middle button or both the left and the right button are pressed.

public MouseAction? MiddleDrag { get; init; }

Property Value

MouseAction

Planar

Focuses on movement constrained to a plane. Left button for area selection, right button for XY panning, middle button for rotation and zoom. Ideal for top-down or strategy-style navigation.

public static MouseInputScheme Planar { get; }

Property Value

MouseInputScheme

RightDrag

How to handle dragging the mouse while the right button is pressed.

public MouseAction? RightDrag { get; init; }

Property Value

MouseAction

Scene

Scene navigation with full six degrees of freedom. Left button for XY panning, right button for rotation, middle button for roll and zoom. Designed for general-purpose scene inspection.

public static MouseInputScheme Scene { get; }

Property Value

MouseInputScheme