Table of Contents

Class InputCapturePriority

Namespace
Stride.Input
Assembly
Stride.Input.dll

Common priorities for TryCapture(IInputDevice, object, int). A higher priority takes a device from a lower one. Any value is valid.

public static class InputCapturePriority
Inheritance
object
InputCapturePriority

Fields

Focus

For capture driven by focus, such as a text box that receives the keyboard.

public const int Focus = 100

Field Value

int

Hover

For capture driven by hovering, such as a pointer over a UI panel.

public const int Hover = 0

Field Value

int

Modal

For modal layers, such as a console or a pause menu.

public const int Modal = 1000

Field Value

int