Show / Hide Table of Contents

Class ImGuiObjectCollection

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

Inheritance
object
ImGuiObjectBase
ImGuiObjectCollection
Implements
IList<ImGuiObjectBase>
ICollection<ImGuiObjectBase>
IEnumerable<ImGuiObjectBase>
IEnumerable
Inherited Members
ImGuiObjectBase.IsVisible
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.ImGuiSystem
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public class ImGuiObjectCollection : ImGuiObjectBase, IList<ImGuiObjectBase>, ICollection<ImGuiObjectBase>, IEnumerable<ImGuiObjectBase>, IEnumerable

Constructors

ImGuiObjectCollection()

Creates a new instance of this object.

Declaration
public ImGuiObjectCollection()

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
int

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
bool

this[int]

Declaration
public ImGuiObjectBase this[int index] { get; set; }
Parameters
Type Name Description
int index
Property Value
Type Description
ImGuiObjectBase

Methods

Add(ImGuiObjectBase)

Declaration
public void Add(ImGuiObjectBase item)
Parameters
Type Name Description
ImGuiObjectBase item

BuildUI(ImGuiRenderer)

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

Declaration
public override void BuildUI(ImGuiRenderer renderer)
Parameters
Type Name Description
ImGuiRenderer renderer

The ImGui renderer.

Overrides
ImGuiObjectBase.BuildUI(ImGuiRenderer)

Clear()

Declaration
public void Clear()

Contains(ImGuiObjectBase)

Declaration
public bool Contains(ImGuiObjectBase item)
Parameters
Type Name Description
ImGuiObjectBase item
Returns
Type Description
bool

CopyTo(ImGuiObjectBase[], int)

Declaration
public void CopyTo(ImGuiObjectBase[] array, int arrayIndex)
Parameters
Type Name Description
ImGuiObjectBase[] array
int arrayIndex

GetEnumerator()

Declaration
public IEnumerator<ImGuiObjectBase> GetEnumerator()
Returns
Type Description
IEnumerator<ImGuiObjectBase>

IndexOf(ImGuiObjectBase)

Declaration
public int IndexOf(ImGuiObjectBase item)
Parameters
Type Name Description
ImGuiObjectBase item
Returns
Type Description
int

Insert(int, ImGuiObjectBase)

Declaration
public void Insert(int index, ImGuiObjectBase item)
Parameters
Type Name Description
int index
ImGuiObjectBase item

Remove(ImGuiObjectBase)

Declaration
public bool Remove(ImGuiObjectBase item)
Parameters
Type Name Description
ImGuiObjectBase item
Returns
Type Description
bool

RemoveAt(int)

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

Implements

IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX