classref: Sync with current master branch (8e951fd)

This commit is contained in:
Godot Organization
2024-03-01 16:12:44 +00:00
parent 7030ad20e2
commit 045efee3ee
54 changed files with 1916 additions and 374 deletions

View File

@@ -1584,6 +1584,8 @@ Returns the default mouse cursor shape set by :ref:`cursor_set_shape<class_Displ
Sets a custom mouse cursor image for the defined ``shape``. This means the user's operating system and mouse cursor theme will no longer influence the mouse cursor's appearance. The image must be ``256x256`` or smaller for correct appearance. ``hotspot`` can optionally be set to define the area where the cursor will click. By default, ``hotspot`` is set to ``Vector2(0, 0)``, which is the top-left corner of the image. See also :ref:`cursor_set_shape<class_DisplayServer_method_cursor_set_shape>`.
\ ``cursor`` can be either :ref:`Texture2D<class_Texture2D>` or :ref:`Image<class_Image>`.
.. rst-class:: classref-item-separator
----