Table of Contents

Class Outline

Namespace
Interaction

The Outline script is automatically attached to TrainAR objects on conversion and handles the outlining for e.g. selection, success or failure. It is called and handled by the MaterialController.

public class Outline : MonoBehaviour
Inheritance
object
Outline

Properties

OutlineColor

The color of the outline.

public Color OutlineColor { get; set; }

Property Value

Color

OutlineMode

The type of outline used. (e.g. if it shows through other objects)

public Outline.Mode OutlineMode { get; set; }

Property Value

Outline.Mode

OutlineWidth

The width/thickness of the outline.

public float OutlineWidth { get; set; }

Property Value

float