Enum CursorCaptureMode
Cursor capture modes.
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public enum CursorCaptureMode
Fields
Name | Description |
---|---|
Confined | The cursor is confined to the bounds of the window. |
Locked | The cursor is locked to the center of the window. Useful for e.g. FPS games. In this mode the cursor has a virtual position that can go to arbitrary coordinates, this allows the mouse delta to always grow. Checking the mouse cursor position while capturing the cursor will not return a coordinate that corresponds to the screen. |
Normal | The cursor is not captured. |