virtualx-engine/doc/classes/InputEventWithModifiers.xml

106 lines
2.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="InputEventWithModifiers" inherits="InputEvent" category="Core" version="3.0-alpha">
<brief_description>
2017-10-16 00:07:13 +02:00
Base class for keys events with modifiers.
</brief_description>
<description>
2017-10-16 00:07:13 +02:00
Contains keys events informations with modifiers support like [code]SHIFT[/code] or [code]ALT[/code]. 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_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>