InputEventFromWindow

继承: InputEvent < Resource < RefCounted < Object

派生: InputEventScreenDrag, InputEventScreenTouch, InputEventWithModifiers

基于 Viewport 的输入事件的抽象基类。

描述

InputEventFromWindow 代表明确由窗口接收的事件。包括鼠标事件、聚焦窗口中的键盘事件或触屏动作。

属性

int

window_id

0


属性说明

int window_id = 0

  • void set_window_id ( int value )

  • int get_window_id ( )

接收这个事件的 Window 的 ID。

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.