diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-03 08:35:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 08:35:59 +0100 |
commit | 6322b0bbb7fec1e6574f0bb09c99647472ef3a52 (patch) | |
tree | 235aab52e666b4619c940bb1765a76ad2649cfc7 /doc | |
parent | 2c226e4edf720ebbadf355e244b27082ca01f330 (diff) | |
parent | a392dbdbe3f67d42698e47399421fbdf6ae5c90a (diff) |
Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursor
Custom hardware-accelerated mouse cursor
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Input.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 1200ac5170..53a2d48347 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -275,9 +275,12 @@ </return> <argument index="0" name="image" type="Resource"> </argument> - <argument index="1" name="hotspot" type="Vector2" default="Vector2( 0, 0 )"> + <argument index="1" name="cursor_shape" type="int" default="CURSOR_ARROW"> + </argument> + <argument index="2" name="hotspot" type="Vector2" default="Vector2( 0, 0 )"> </argument> <description> + Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. See enum [code]CURSOR_*[/code] for the list of shapes. </description> </method> <method name="set_mouse_mode"> |