Click or drag to resize

OptionButtonSetItemMetadata Method

Sets the metadata of an item. Metadata may be of any type and can be used to store extra information about an item, such as an external string ID.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemMetadata(
	int idx,
	Object metadata
)

Parameters

idx
Type: SystemInt32

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

metadata
Type: SystemObject

[Missing <param name="metadata"/> documentation for "M:Godot.OptionButton.SetItemMetadata(System.Int32,System.Object)"]

See Also