ImGuiObjectCollection Class
Definition
Section titled “Definition”A collection of ImGuiObjectBase objects that can be added to a ImGui renderer.
public class ImGuiObjectCollection : ImGuiObjectBase, IList<ImGuiObjectBase>, ICollection<ImGuiObjectBase>, IEnumerable<ImGuiObjectBase>, IEnumerableInheritance object → ImGuiObjectBase
Implements IList<ImGuiObjectBase>, ICollection<ImGuiObjectBase>, IEnumerable<ImGuiObjectBase>, IEnumerable
Constructors
Section titled “Constructors”ImGuiObjectCollection()
Section titled “ImGuiObjectCollection()”Creates a new instance of this object.
public ImGuiObjectCollection()Properties
Section titled “Properties”this[int]
Section titled “this[int]”public ImGuiObjectBase this[int index] { get; set; }public int Count { get; }IsReadOnly
Section titled “IsReadOnly”public bool IsReadOnly { get; }Methods
Section titled “Methods”BuildUI(ImGuiRenderer)
Section titled “BuildUI(ImGuiRenderer)”Draws the objects contained in this collection if IsVisible is true.
public override void BuildUI(ImGuiRenderer renderer)Parameters
Section titled “Parameters”renderer ImGuiRenderer
The ImGui renderer.
Add(ImGuiObjectBase)
Section titled “Add(ImGuiObjectBase)”public void Add(ImGuiObjectBase item)Parameters
Section titled “Parameters”item ImGuiObjectBase
Clear()
Section titled “Clear()”public void Clear()Contains(ImGuiObjectBase)
Section titled “Contains(ImGuiObjectBase)”public bool Contains(ImGuiObjectBase item)Parameters
Section titled “Parameters”item ImGuiObjectBase
Returns
Section titled “Returns”CopyTo(ImGuiObjectBase[], int)
Section titled “CopyTo(ImGuiObjectBase[], int)”public void CopyTo(ImGuiObjectBase[] array, int arrayIndex)Parameters
Section titled “Parameters”array ImGuiObjectBase[]
arrayIndex int
GetEnumerator()
Section titled “GetEnumerator()”public IEnumerator<ImGuiObjectBase> GetEnumerator()Returns
Section titled “Returns”IndexOf(ImGuiObjectBase)
Section titled “IndexOf(ImGuiObjectBase)”public int IndexOf(ImGuiObjectBase item)Parameters
Section titled “Parameters”item ImGuiObjectBase
Returns
Section titled “Returns”Insert(int, ImGuiObjectBase)
Section titled “Insert(int, ImGuiObjectBase)”public void Insert(int index, ImGuiObjectBase item)Parameters
Section titled “Parameters”index int
item ImGuiObjectBase
Remove(ImGuiObjectBase)
Section titled “Remove(ImGuiObjectBase)”public bool Remove(ImGuiObjectBase item)Parameters
Section titled “Parameters”item ImGuiObjectBase
Returns
Section titled “Returns”RemoveAt(int)
Section titled “RemoveAt(int)”public void RemoveAt(int index)Parameters
Section titled “Parameters”index int