BaseMeshOutline Class

Definition

Abstract component to encapsulate common functionality around outline components.

public abstract class BaseMeshOutline : UnityEngine.MonoBehaviour
type BaseMeshOutline = class
    inherit MonoBehaviour
Public MustInherit Class BaseMeshOutline
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
BaseMeshOutline
Derived

Constructors

BaseMeshOutline()

Fields

outlineMaterial
outlineWidth

Properties

OutlineMaterial

The material used to render the outline. Outline materials should normal have "Depth Write" set to Off and "Vertex Extrusion" enabled. Most Graphics Tools/Standard features should work as an outline material, but it is recommended to keep the outline material as simple as possible.

OutlineWidth

How thick (in meters) should the outline be. Overrides the "Extrusion Value" in the Graphics Tools/Standard material.

Methods

ApplyOutlineMaterial()
ApplyOutlineWidth()
OnDidApplyAnimationProperties()

Event for when the animation system updates any serialized properties.

OnValidate()

Enables users to modify inspector properties while playing in the editor.

Applies to