InputEventShortcut¶
继承: InputEvent < Resource < RefCounted < Object
表示触发的键盘Shortcut。
描述¶
InputEvent快捷方式是一个特殊事件,可以在Item.OnInput()、Item.shortcut_input()和Item.unhandled_input()中接收。它通常由编辑器的命令面板发送以触发操作,但也可以使用Viewport.push_input()手动发送。
属性¶
属性说明¶
此事件表示的Shortcut。它的Shortcut.matches_event()方法将始终为此事件返回true。