2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-08-26 22:41:21 +02:00
|
|
|
<class name="InputEventWithModifiers" inherits="InputEvent" version="4.1">
|
2022-03-15 13:29:32 +01:00
|
|
|
<brief_description>
|
|
|
|
Base class for keys events with modifiers.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-08-25 19:51:43 +02:00
|
|
|
Contains keys events information with modifiers support like [kbd]Shift[/kbd] or [kbd]Alt[/kbd]. See [method Node._input].
|
2022-03-15 13:29:32 +01:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2023-08-29 22:33:15 +02:00
|
|
|
<link>$DOCS_URL/tutorials/inputs/inputevent.md</link>
|
2022-03-15 13:29:32 +01:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="alt" type="bool" setter="set_alt" getter="get_alt" default="false">
|
2022-08-25 19:51:43 +02:00
|
|
|
State of the [kbd]Alt[/kbd] modifier.
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="command" type="bool" setter="set_command" getter="get_command" default="false">
|
2022-08-25 19:51:43 +02:00
|
|
|
State of the [kbd]Command[/kbd] modifier.
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="control" type="bool" setter="set_control" getter="get_control" default="false">
|
2022-08-25 19:51:43 +02:00
|
|
|
State of the [kbd]Ctrl[/kbd] modifier.
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="meta" type="bool" setter="set_metakey" getter="get_metakey" default="false">
|
2022-08-25 19:51:43 +02:00
|
|
|
State of the [kbd]Meta[/kbd] modifier.
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="shift" type="bool" setter="set_shift" getter="get_shift" default="false">
|
2022-08-25 19:51:43 +02:00
|
|
|
State of the [kbd]Shift[/kbd] modifier.
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|