文档

Unity Engine

Unity Engine

centerOfMassUseScreenSize

Whether or not the center of mass visualization should be constant screen space size.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool centerOfMassUseScreenSize { get; set; }

Remarks

If you set the property to false, Unity draws the center of mass visualization in world space. If you set the property to true, Unity draws the center of mass visualization in constant sceen space.