Click or drag to resize

ItemListSetItemIcon Method

Sets (or replaces) the icon's Texture associated with the specified index.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemIcon(
	int idx,
	Texture icon
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.ItemList.SetItemIcon(System.Int32,Godot.Texture)"]

icon
Type: GodotTexture

[Missing <param name="icon"/> documentation for "M:Godot.ItemList.SetItemIcon(System.Int32,Godot.Texture)"]

See Also