godot/doc/classes/InputEventMouseMotion.xml
Rémi Verschelde 967bfb0c4a doc: Remove revision.module_config from version string
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}",
limits unnecessary diffs.
2017-11-15 20:41:16 +01:00

55 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="InputEventMouseMotion" inherits="InputEventMouse" category="Core" version="3.0-alpha">
<brief_description>
Input event type for mouse motion events.
</brief_description>
<description>
Contains mouse motion informations. Supports relative, absolute positions and speed. See [method Node._input].
</description>
<tutorials>
http://docs.godotengine.org/en/stable/learning/features/inputs/inputevent.html
</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>
<member name="relative" type="Vector2" setter="set_relative" getter="get_relative">
Mouse position relative to the previous position (position at the last frame).
</member>
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed">
Mouse speed.
</member>
</members>
<constants>
</constants>
</class>