summaryrefslogtreecommitdiff
path: root/doc/classes/InputEventWithModifiers.xml
blob: cc7de2ca327d7b286dcb3bf639c7eeb8f1c1f954 (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="InputEventWithModifiers" inherits="InputEventFromWindow" version="4.0">
	<brief_description>
		Base class for keys events with modifiers.
	</brief_description>
	<description>
		Contains keys events information with modifiers support like [kbd]Shift[/kbd] or [kbd]Alt[/kbd]. See [method Node._input].
	</description>
	<tutorials>
		<link>https://docs.godotengine.org/en/latest/tutorials/inputs/inputevent.html</link>
	</tutorials>
	<methods>
	</methods>
	<members>
		<member name="alt" type="bool" setter="set_alt" getter="get_alt" default="false">
			State of the [kbd]Alt[/kbd] modifier.
		</member>
		<member name="command" type="bool" setter="set_command" getter="get_command" default="false">
			State of the [kbd]Cmd[/kbd] modifier.
		</member>
		<member name="control" type="bool" setter="set_control" getter="get_control" default="false">
			State of the [kbd]Ctrl[/kbd] modifier.
		</member>
		<member name="meta" type="bool" setter="set_metakey" getter="get_metakey" default="false">
			State of the [kbd]Meta[/kbd] modifier.
		</member>
		<member name="shift" type="bool" setter="set_shift" getter="get_shift" default="false">
			State of the [kbd]Shift[/kbd] modifier.
		</member>
	</members>
	<constants>
	</constants>
</class>