Plush

EditorOverlay3D#

PlushEngine · Type index

Namespace: PlushEngine

Editor-only drawing on top of a 3D view: an outline around the selected objects and the transform gizmo. Supplied by the editor per frame; games never set it.

public sealed class EditorOverlay3D

Members: ActiveOutline · Gizmo · Outline · OutlineColor · OutlineWidth · SelectedOutlineColor

ActiveOutline#

public HashSet<string> ActiveOutline { get; }

Initial value: new()

Active occurrence and descendants, drawn distinctly from other selected objects.

Gizmo#

public List<float> Gizmo { get; }

Initial value: new()

Gizmo triangles: x, y, z, r, g, b, a per vertex, display (sRGB) colors, drawn over everything.

Outline#

public HashSet<string> Outline { get; }

Initial value: new()

Occurrence IDs to outline (the selection and its children).

OutlineColor#

public System.Numerics.Vector4 OutlineColor { get; set; }

Initial value: new(1f, .63f, .16f, 1)

Outline color (display space) and width in physical pixels.

OutlineWidth#

public float OutlineWidth { get; set; }

Initial value: 3

SelectedOutlineColor#

public System.Numerics.Vector4 SelectedOutlineColor { get; set; }

Initial value: new(.65f, .40f, .12f, 1)

Source#