Click or drag to resize

ControlGetIcon Method

Returns an icon from assigned Theme with given name and associated with Control of given node_type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Texture GetIcon(
	string name,
	string nodeType = ""
)

Parameters

name
Type: SystemString

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

nodeType (Optional)
Type: SystemString

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

Return Value

Type: Texture

[Missing <returns> documentation for "M:Godot.Control.GetIcon(System.String,System.String)"]

See Also