Table of Contents

Class MouseNavigation

Namespace
OmegaEngine.Input
Assembly
OmegaEngine.dll

A navigation action bound to a mouse input.

public record MouseNavigation : MouseAction, IEquatable<MouseAction>, IEquatable<MouseNavigation>
Inheritance
object
MouseNavigation
Implements

Constructors

MouseNavigation(MouseNavigationAxis, MouseNavigationAxis, bool, bool)

A navigation action bound to a mouse input.

public MouseNavigation(MouseNavigationAxis X, MouseNavigationAxis Y, bool ViewportScaling = false, bool CaptureCursor = true)

Parameters

X MouseNavigationAxis

The action to apply for mouse movement along the X axis.

Y MouseNavigationAxis

The action to apply for mouse movement along the Y axis.

ViewportScaling bool

Whether to scale the input based on the size of the input area / viewport.

CaptureCursor bool

Whether to capture and hide the mouse cursor.

Properties

CaptureCursor

Whether to capture and hide the mouse cursor.

public bool CaptureCursor { get; init; }

Property Value

bool

ViewportScaling

Whether to scale the input based on the size of the input area / viewport.

public bool ViewportScaling { get; init; }

Property Value

bool

X

The action to apply for mouse movement along the X axis.

public MouseNavigationAxis X { get; init; }

Property Value

MouseNavigationAxis

Y

The action to apply for mouse movement along the Y axis.

public MouseNavigationAxis Y { get; init; }

Property Value

MouseNavigationAxis