InputEventShortcut

继承: InputEvent < Resource < RefCounted < Object

代表触发的键盘快捷键 Shortcut

描述

InputEventShortcut 是一种可以在 Node._unhandled_key_input 中收到的特殊事件。通常由编辑器的“命令面板”发送,用于触发动作,但也可以使用 Viewport.push_input 手动发送。

属性

Shortcut

shortcut


属性说明

Shortcut shortcut

这个事件代表的 Shortcut。它的 Shortcut.matches_event 方法对这个事件始终返回 true

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.