Skip to content

Game.Debug.SearchTreeDebugSystem+Bounds2DebugIterator`1

Assembly: Game
Namespace: Game.Debug

Type: struct sealed public

Base: System.ValueType
Implements: Colossal.Collections.INativeQuadTreeIterator<TItem, Colossal.Mathematics.Bounds2>, Colossal.Collections.IUnsafeQuadTreeIterator<TItem, Colossal.Mathematics.Bounds2>

Code

public sealed struct Bounds2DebugIterator<TItem> : Colossal.Collections.INativeQuadTreeIterator<TItem, Colossal.Mathematics.Bounds2>, Colossal.Collections.IUnsafeQuadTreeIterator<TItem, Colossal.Mathematics.Bounds2>
{
    private Colossal.Mathematics.Bounds2 m_Bounds;
    private Colossal.GizmoBatcher m_GizmoBatcher;

    public Bounds2DebugIterator`1(Colossal.Mathematics.Bounds2 bounds, Colossal.GizmoBatcher gizmoBatcher);

    public System.Boolean Intersect(Colossal.Mathematics.Bounds2 bounds);
    public System.Void Iterate(Colossal.Mathematics.Bounds2 bounds, TItem edgeEntity);
}

Fields

  • private Colossal.Mathematics.Bounds2 m_Bounds
private Colossal.Mathematics.Bounds2 m_Bounds;
  • private Colossal.GizmoBatcher m_GizmoBatcher
private Colossal.GizmoBatcher m_GizmoBatcher;

Constructors

  • public Bounds2DebugIterator1(Colossal.Mathematics.Bounds2 bounds, Colossal.GizmoBatcher gizmoBatcher)`
public Bounds2DebugIterator`1(Colossal.Mathematics.Bounds2 bounds, Colossal.GizmoBatcher gizmoBatcher);

Methods

  • public Intersect(Colossal.Mathematics.Bounds2 bounds) : System.Boolean
public System.Boolean Intersect(Colossal.Mathematics.Bounds2 bounds);
  • public Iterate(Colossal.Mathematics.Bounds2 bounds, TItem edgeEntity) : System.Void
public System.Void Iterate(Colossal.Mathematics.Bounds2 bounds, TItem edgeEntity);