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
public Object GetItemMetadata( int idx )
[Missing <param name="idx"/> documentation for "M:Godot.PopupMenu.GetItemMetadata(System.Int32)"]
[Missing <returns> documentation for "M:Godot.PopupMenu.GetItemMetadata(System.Int32)"]