blob: 6c9165fea858df73a142fb8d8f01c5fc4fb69f92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<?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>
|