Click or drag to resize

ThemeSetIcon Method

Sets the theme's icon Texture to texture at name in node_type.

Does nothing if the theme does not have node_type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetIcon(
	string name,
	string nodeType,
	Texture texture
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Theme.SetIcon(System.String,System.String,Godot.Texture)"]

nodeType
Type: SystemString

[Missing <param name="nodeType"/> documentation for "M:Godot.Theme.SetIcon(System.String,System.String,Godot.Texture)"]

texture
Type: GodotTexture

[Missing <param name="texture"/> documentation for "M:Godot.Theme.SetIcon(System.String,System.String,Godot.Texture)"]

See Also