Click or drag to resize

OSWindowPerPixelTransparencyEnabled Property

If true, the window background is transparent and window frame is removed.

Use get_tree().get_root().set_transparent_background(true) 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.

Note: This property is implemented on HTML5, Linux, macOS and Windows.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool WindowPerPixelTransparencyEnabled { get; set; }

Property Value

Type: Boolean
See Also