Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

InputEventFromWindow

繼承: InputEvent < Resource < RefCounted < Object

被繼承: InputEventScreenDrag, InputEventScreenTouch, InputEventWithModifiers

基於 Viewport 的輸入事件的抽象基底類別。

說明

InputEventFromWindow 代表明確由視窗接收的事件。包括滑鼠事件、聚焦視窗中的鍵盤事件或觸屏動作。

屬性

int

window_id

0


屬性說明

int window_id = 0 🔗

  • void set_window_id(value: int)

  • int get_window_id()

接收這個事件的 Window 的 ID。