diff options
author | Guilherme Silva <guilhermefelipecgs@gmail.com> | 2017-11-10 08:50:11 -0200 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2017-12-17 13:40:29 -0200 |
commit | a392dbdbe3f67d42698e47399421fbdf6ae5c90a (patch) | |
tree | 0a824a34a62a5f9510850e4e4f451e8c54e5ed46 /doc/classes | |
parent | fa8a1fc4201dc4c16b5eef844dde17c5bba92dc8 (diff) |
Add implementation for custom hardware cursor
Diffstat (limited to 'doc/classes')
-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"> |