Click or drag to resize

ItemListSetItemIconRegion Method

Sets the region of item's icon used. The whole icon will be used if the region has no area.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemIconRegion(
	int idx,
	Rect2 rect
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.ItemList.SetItemIconRegion(System.Int32,Godot.Rect2)"]

rect
Type: GodotRect2

[Missing <param name="rect"/> documentation for "M:Godot.ItemList.SetItemIconRegion(System.Int32,Godot.Rect2)"]

See Also