Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


centerOfMassUseScreenSize

Whether or not the center of mass visualization should be constant screen space size.
Read time 1 minuteLast updated 5 days ago

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.