Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LineAlignment

Control the direction lines face, when using the LineRenderer or TrailRenderer.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum LineAlignment

Fields

Value

Description

TransformZLines face the Z axis of the Transform Component.
ViewLines face the camera.