glfwSetCursor¶
Sets the cursor for the window.
This function sets the cursor image to be used when the cursor is over the
content area of the specified window. The set cursor will only be visible
when the cursor mode of the window is
GLFW_CURSOR_NORMAL.
On some platforms, the set cursor may not be visible unless the window also has input focus.
- arguments
-
\GLFWwindow$windowThe window to set the cursor for.\GLFWcursor$cursorThe cursor to set, orNULLto switch back to the default arrow cursor.
- returns
-
void