2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="InputEventMouseMotion" inherits="InputEventMouse" category="Core" version="3.0.alpha.custom_build">
|
|
|
|
<brief_description>
|
|
|
|
Input event type for mouse motion events.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-15 22:07:13 +00:00
|
|
|
Contains mouse motion informations. Supports relative, absolute positions and speed. See [method Node._input].
|
2017-09-12 20:42:36 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2017-10-15 22:07:13 +00:00
|
|
|
http://docs.godotengine.org/en/stable/learning/features/inputs/inputevent.html
|
2017-09-12 20:42:36 +00:00
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_relative" qualifiers="const">
|
|
|
|
<return type="Vector2">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_speed" qualifiers="const">
|
|
|
|
<return type="Vector2">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_relative">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="relative" type="Vector2">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_speed">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="speed" type="Vector2">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="relative" type="Vector2" setter="set_relative" getter="get_relative">
|
2017-10-15 22:07:13 +00:00
|
|
|
Mouse position relative to the previous position (position at the last frame).
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed">
|
2017-10-15 22:07:13 +00:00
|
|
|
Mouse speed.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|