Cursor mode for Window.cursorMode.

Variables

@:value(cast 0x00034001)@:enum@:implinlineread onlyNormal:CursorMode = 0x00034001

Normal cursor mode

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

This is the default mode.

@:value(cast 0x00034002)@:enum@:implinlineread onlyHidden:CursorMode = 0x00034002

Hidden cursor mode.

When you only wish the cursor to become hidden when it is over the window but still want it to behave normally.

This mode puts no limit on the motion of the cursor.

@:value(cast 0x00034003)@:enum@:implinlineread onlyDisabled:CursorMode = 0x00034003

Disabled cursor mode.

This hides the cursor and lock it to the window.

Used when you wish to implement mouse motion based camera controls or other input schemes that require unlimited mouse movement.