HighlightOutlineclass

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.

objectComponentHighlightOutline
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.HighlightOutline : Sandbox.Component

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

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

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

Returns:IEnumerable<Renderer>

Properties8

Showing 8 properties

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

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

Returns:Color

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

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

Returns:Color

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

Specify targets of the outline manually

Returns:bool

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

Specify targets of the outline manually

Returns:List<Renderer>

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

The width of the line of the glow

Returns:float

On this page