From 54863b20e686944651415bf0a6af3ebc2cf9369f Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 4 Jun 2019 11:21:29 +0300 Subject: Removes redundant "display/window/per_pixel_transparency/splash" setting, improves per pixel transparency documentation. --- doc/classes/OS.xml | 4 ++++ doc/classes/ProjectSettings.xml | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index dd0fcd63e7..81beca8b24 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -813,6 +813,7 @@ If [code]true[/code], removes the window frame. + Note: Setting [code]window_borderless[/code] to [code]false[/code] disables per-pixel transparency. If [code]true[/code], the window is fullscreen. @@ -824,6 +825,9 @@ If [code]true[/code], the window is minimized. + If [code]true[/code], the window background is transparent and window frame is removed. + Use [code]get_tree().get_root().set_transparent_background(true)[/code] to disable main viewport background rendering. + Note: This property has no effect if "Project > Project Settings > Display > Window > Per-pixel transparency > Allowed" setting is disabled. The window position relative to the screen, the origin is the top left corner, +Y axis goes to the bottom and +X axis goes to the right. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 5bcd39a8d6..9d2bbbead6 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -374,11 +374,10 @@ Default orientation on mobile devices. - If [code]true[/code], allows per-pixel transparency in a desktop window. This affects performance if not needed, so leave it on [code]false[/code] unless you need it. + If [code]true[/code], allows per-pixel transparency in a desktop window. This affects performance, so leave it on [code]false[/code] unless you need it. - - + Set the window background to transparent when it starts. Force the window to be always on top. -- cgit v1.2.3