lineThickness
Retrieves the user preference setting that controls the thickness of tool handle lines. (Read Only)
阅读时间1 分钟最后更新于 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.