Skip to content

ImGuiObjectCollection Class

A collection of ImGuiObjectBase objects that can be added to a ImGui renderer.

C#
public class ImGuiObjectCollection : ImGuiObjectBase, IList<ImGuiObjectBase>, ICollection<ImGuiObjectBase>, IEnumerable<ImGuiObjectBase>, IEnumerable

Inheritance objectImGuiObjectBase

Implements IList<ImGuiObjectBase>, ICollection<ImGuiObjectBase>, IEnumerable<ImGuiObjectBase>, IEnumerable

Creates a new instance of this object.

C#
public ImGuiObjectCollection()
C#
public ImGuiObjectBase this[int index] { get; set; }
C#
public int Count { get; }
C#
public bool IsReadOnly { get; }

Draws the objects contained in this collection if IsVisible is true.

C#
public override void BuildUI(ImGuiRenderer renderer)

renderer ImGuiRenderer
The ImGui renderer.

C#
public void Add(ImGuiObjectBase item)

item ImGuiObjectBase

C#
public void Clear()
C#
public bool Contains(ImGuiObjectBase item)

item ImGuiObjectBase

bool

C#
public void CopyTo(ImGuiObjectBase[] array, int arrayIndex)

array ImGuiObjectBase[]

arrayIndex int

C#
public IEnumerator<ImGuiObjectBase> GetEnumerator()

IEnumerator<ImGuiObjectBase>

C#
public int IndexOf(ImGuiObjectBase item)

item ImGuiObjectBase

int

C#
public void Insert(int index, ImGuiObjectBase item)

index int

item ImGuiObjectBase

C#
public bool Remove(ImGuiObjectBase item)

item ImGuiObjectBase

bool

C#
public void RemoveAt(int index)

index int