Click or drag to resize

PopupMenuSetItemIcon Method

Replaces the Texture icon of the specified idx.

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.PopupMenu.SetItemIcon(System.Int32,Godot.Texture)"]

icon
Type: GodotTexture

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

See Also