Click or drag to resize

OptionButtonSetItemIcon Method

Sets the icon of the item at index idx.

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

Parameters

idx
Type: SystemInt32

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

texture
Type: GodotTexture

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

See Also