blob: 46107a4ab89a951757fec9b054d5c9da3bb006b1 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<?xml version="1.0" encoding="UTF-8" ?>
<class name="InputEventWithModifiers" inherits="InputEvent" category="Core" version="3.0.alpha.custom_build">
<brief_description>
Base class for keys events with modifiers.
</brief_description>
<description>
Contains keys events informations with modifiers support like [code]SHIFT[/code] or [code]ALT[/code]. See [method Node._input].
</description>
<tutorials>
http://docs.godotengine.org/en/stable/learning/features/inputs/inputevent.html
</tutorials>
<demos>
</demos>
<methods>
<method name="get_alt" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="get_command" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="get_control" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="get_metakey" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="get_shift" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="set_alt">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
</description>
</method>
<method name="set_command">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
</description>
</method>
<method name="set_control">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
</description>
</method>
<method name="set_metakey">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
</description>
</method>
<method name="set_shift">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="alt" type="bool" setter="set_alt" getter="get_alt">
State of the Alt modifier.
</member>
<member name="command" type="bool" setter="set_command" getter="get_command">
State of the Command modifier.
</member>
<member name="control" type="bool" setter="set_control" getter="get_control">
State of the Ctrl modifier.
</member>
<member name="meta" type="bool" setter="set_metakey" getter="get_metakey">
State of the Meta modifier.
</member>
<member name="shift" type="bool" setter="set_shift" getter="get_shift">
State of the Shift modifier.
</member>
</members>
<constants>
</constants>
</class>
|