lineThickness
Retrieves the user preference setting that controls the thickness of tool handle lines. (Read Only)
Read time 1 minuteLast updated 11 days ago
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.