Skip to content

Class TerminalRenderer.Overlay

A texture composited over a rectangle of cells. Setting a property redraws the grid; when the texture’s own pixels change, call SetDirty on the renderer.

Declaration
public sealed class TerminalRenderer.Overlay
Declaration
public Texture Texture { get; set; }
Declaration
public RectInt CellRect { get; set; }
Declaration
public Color Tint { get; set; }
Declaration
public bool Visible { get; set; }

The texture’s pixels change every frame, as a camera’s do, so the cells under it redraw every frame.

Declaration
public bool Live { get; set; }

Draw under the text of the cells it covers, so they can label it. Off draws over them.

Declaration
public bool BehindText { get; set; }