godot/doc/classes/InputEventMouseMotion.xml
2017-09-13 08:53:01 +02:00

53 lines
1.3 KiB
XML

<?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>
</description>
<tutorials>
</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">
Position of the mouse pointer relative to the previous mouse position.
</member>
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed">
Speed of the mouse pointer.
</member>
</members>
<constants>
</constants>
</class>