WindowFlags WindowTransparentForInput

robot_2Generated
code_blocksInput

Description

The WindowTransparentForInput field is a member of the Editor.WindowFlags enumeration. This flag is used to specify that a window should be transparent to input events, meaning that input events such as mouse clicks or keyboard presses will pass through the window to any underlying windows or controls.

Usage

Use the WindowTransparentForInput flag when you want to create a window that does not intercept input events, allowing them to be handled by other windows or controls beneath it. This can be useful for creating overlay windows that should not interfere with user interactions with other parts of the application.

Example

// Example of using WindowTransparentForInput
var windowFlags = Editor.WindowFlags.Window | Editor.WindowFlags.WindowTransparentForInput;

// Create a window with the specified flags
var window = new EditorWindow(windowFlags);

// The window will be transparent to input, allowing interactions with underlying windows.