Description
The Borderless
property of the RenderSettings
class in the Sandbox.Engine.Settings
namespace is a boolean value that determines whether the application window should be displayed in a borderless mode. When set to true
, the window will not have a border, providing a cleaner and more immersive visual experience. This is particularly useful for applications that require a full-screen appearance without the constraints of a traditional window border.
Usage
To use the Borderless
property, you can get or set its value to control the window's borderless state. This property is typically used in conjunction with other display settings such as Fullscreen
and ResolutionWidth
to configure the application's display mode.
Example usage:
RenderSettings settings = new RenderSettings();
settings.Borderless = true; // Enable borderless window
settings.Apply(); // Apply the settings to take effect
Example
RenderSettings settings = new RenderSettings();
settings.Borderless = true; // Enable borderless window
settings.Apply(); // Apply the settings to take effect