s&box docs

public class Sandbox.HighlightOutline : Sandbox.Component

This component should be added to stuff you want to be outlined. You will also need to add the Highlight component to the camera you want to render the outlines.

Constructors

Showing 1 constructors

Methods

Showing 1 methods

public System.Collections.Generic.IEnumerable`1<Sandbox.Renderer> GetOutlineTargets()

Get a list of targets that we want to draw the outline around

Properties

Showing 8 properties

public Color Sandbox.HighlightOutline.InsideObscuredColor { get; set; }

Color of the inside of the glow when the mesh is obscured by something closer.

public Color Sandbox.HighlightOutline.ObscuredColor { get; set; }

The colour of the glow when the mesh is obscured by something closer.

public bool Sandbox.HighlightOutline.OverrideTargets { get; set; }

Specify targets of the outline manually

public System.Collections.Generic.List`1<Sandbox.Renderer> Sandbox.HighlightOutline.Targets { get; set; }

Specify targets of the outline manually

public float Sandbox.HighlightOutline.Width { get; set; }

The width of the line of the glow

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.HighlightOutline

On this page