Show / Hide Table of Contents

Enum CursorModeValue

The GLFW cursor modes. See cursor modes.

Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public enum CursorModeValue

Fields

Name Description
CursorCaptured

Makes the cursor visible and confines it to the content area of the window.

CursorDisabled

Will hide the cursor and lock it to the specified window. GLFW will then take care of all the details of cursor re-centering and offset calculation and providing the application with a virtual cursor position. This virtual position is provided normally via both the cursor position callback and through polling.

CursorHidden

Hides the arrow cursor when over a window.

CursorNormal

The regular arrow cursor (or another cursor set with SetCursor(Window*, Cursor*)) is used and cursor motion is not limited.

In This Article
Back to top Generated by DocFX