Click or drag to resize

OptionButton.SetItemIcon 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: System.Int32

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

texture
Type: Godot.Texture

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

See Also