Click or drag to resize

PopupMenuGetItemMetadata Method

Returns the metadata of the specified item, which might be of any type. You can set it with SetItemMetadata(Int32, Object), which provides a simple way of assigning context data to items.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object GetItemMetadata(
	int idx
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.PopupMenu.GetItemMetadata(System.Int32)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.PopupMenu.GetItemMetadata(System.Int32)"]

See Also