Click or drag to resize

ThemeHasIcon Method

Returns true if icon Texture with name is in node_type.

Returns false if the theme does not have node_type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool HasIcon(
	string name,
	string nodeType
)

Parameters

name
Type: SystemString

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

nodeType
Type: SystemString

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

Return Value

Type: Boolean

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

See Also