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

Inherits: InputEvent < Resource < RefCounted < Object

Inherited By: InputEventScreenDrag, InputEventScreenTouch, InputEventWithModifiers

Abstract base class for Viewport-based input events.

描述

InputEventFromWindow represents events specifically received by windows. This includes mouse events, keyboard events in focused windows or touch screen actions.

属性

int

window_id

0


Property Descriptions

int window_id = 0

  • void set_window_id ( int value )

  • int get_window_id ( )

The ID of a Window that received this event.