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
public HighlightOutline()
No results match this filter.
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
No results match this filter.
Properties
Showing 8 properties
public Color Sandbox.HighlightOutline.Color { get; set; }
The colour of the glow outline
public Color Sandbox.HighlightOutline.InsideColor { get; set; }
Color of the inside of the glow
public Color Sandbox.HighlightOutline.InsideObscuredColor { get; set; }
Color of the inside of the glow when the mesh is obscured by something closer.
public Sandbox.Material Sandbox.HighlightOutline.Material { get; set; }
If defined, the glow will use this material rather than a generated one.
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
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.HighlightOutline |