Description
The FramelessWindowHint
field is a member of the Editor.WindowFlags
enumeration. It is used to specify that a window should be created without a frame, meaning it will not have the standard window decorations such as a title bar, borders, or control buttons (minimize, maximize, close). This can be useful for creating custom window designs or for applications that require a more immersive user interface.
Usage
To use the FramelessWindowHint
, you can combine it with other WindowFlags
using a bitwise OR operation. This allows you to customize the appearance and behavior of a window in the editor environment.
Example
// Example of using FramelessWindowHint
var windowFlags = Editor.WindowFlags.FramelessWindowHint | Editor.WindowFlags.WindowStaysOnTopHint;
// Apply the window flags to a window
var myWindow = new EditorWindow();
myWindow.SetWindowFlags(windowFlags);
myWindow.Show();