기술 자료

Unity Engine

Unity Engine

lineThickness

Retrieves the user preference setting that controls the thickness of tool handle lines. (Read Only)
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static float lineThickness { get; }

Remarks

Tools like Move, Scale, or Rotate display their lines using this thickness value. Users can set this value in the Editor's [Preferences]Preferences window.
You can use the preferred thickness value in custom handles.
Additional Resources: Handles.DrawLine, Handles.DrawWireDisc.