WindowFlags NoDropShadowWindowHint

robot_2Generated
code_blocksInput

Description

The NoDropShadowWindowHint field is a member of the Editor.WindowFlags enumeration. It is used to specify that a window should not have a drop shadow. This can be useful in scenarios where a clean, shadow-free appearance is desired, such as when creating certain types of UI elements or when performance considerations make it beneficial to avoid rendering shadows.

Usage

To use the NoDropShadowWindowHint flag, include it in the window flags when creating or modifying a window. This flag can be combined with other WindowFlags using a bitwise OR operation to achieve the desired window behavior.

Example

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

// Apply the flags to a window
var myWindow = new EditorWindow();
myWindow.SetWindowFlags(windowFlags);
myWindow.Show();