Click or drag to resize

OSSetIcon Method

Sets the game's icon using an Image resource.

The same image is used for window caption, taskbar/dock and window selection dialog. Image is scaled as needed.

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

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void SetIcon(
	Image icon
)

Parameters

icon
Type: GodotImage

[Missing <param name="icon"/> documentation for "M:Godot.OS.SetIcon(Godot.Image)"]

See Also