virtualx-engine/doc/classes/InputEventMouseMotion.xml

55 lines
1.5 KiB
XML
Raw Normal View History

<?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>
2017-10-16 00:07:13 +02:00
Contains mouse motion informations. Supports relative, absolute positions and speed. See [method Node._input].
</description>
<tutorials>
2017-10-16 00:07:13 +02:00
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">
2017-10-16 00:07:13 +02:00
Mouse position relative to the previous position (position at the last frame).
</member>
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed">
2017-10-16 00:07:13 +02:00
Mouse speed.
</member>
</members>
<constants>
</constants>
</class>