Header menu logo Mibo

MouseCapture Type

Mouse capture mode for first-person / pointer-lock style input.

Union cases

Union case Description

Captured

Full Usage: Captured

The cursor is hidden and confined; mouse movement produces deltas that allow unlimited rotation (e.g. first-person camera look). The backend implements this via its native mechanism (raylib's DisableCursor, MonoGame's re-center-after-poll).

Free

Full Usage: Free

Normal cursor behavior — the OS cursor moves freely within the window.

Instance members

Instance member Description

this.IsCaptured

Full Usage: this.IsCaptured

Returns: bool
Returns: bool

this.IsFree

Full Usage: this.IsFree

Returns: bool
Returns: bool

Type something to start searching.