class
HighlightOutline
public class HighlightOutline : 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
HighlightOutline() Properties
| Name | Type | Description |
|---|---|---|
Material | Material | If defined, the glow will use this material rather than a generated one. |
Color | Color | The colour of the glow outline |
ObscuredColor | Color | The colour of the glow when the mesh is obscured by something closer. |
InsideColor | Color | Color of the inside of the glow |
InsideObscuredColor | Color | Color of the inside of the glow when the mesh is obscured by something closer. |
Width | Single | The width of the line of the glow |
OverrideTargets | Boolean | Specify targets of the outline manually |
Targets | List<Renderer> | Specify targets of the outline manually |
Methods
IEnumerable<Renderer> GetOutlineTargets() Get a list of targets that we want to draw the outline around