Merge pull request #87856 from bruvzg/transpbg
Automatically set viewport background to transparent when window flag is set.
This commit is contained in:
commit
10e111477d
2 changed files with 8 additions and 2 deletions
|
|
@ -675,7 +675,7 @@
|
|||
<member name="transparent" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the [Window]'s background can be transparent. This is best used with embedded windows.
|
||||
[b]Note:[/b] Transparency support is implemented on Linux, macOS and Windows, but availability might vary depending on GPU driver, display manager, and compositor capabilities.
|
||||
[b]Note:[/b] This property has no effect if either [member ProjectSettings.display/window/per_pixel_transparency/allowed], or the window's [member Viewport.transparent_bg] is set to [code]false[/code].
|
||||
[b]Note:[/b] This property has no effect if [member ProjectSettings.display/window/per_pixel_transparency/allowed] is set to [code]false[/code].
|
||||
</member>
|
||||
<member name="unfocusable" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the [Window] can't be focused nor interacted with. It can still be visible.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue