文档

Unity Engine

Unity Engine

colorVariance

Used to disinguish neighboring Colliders.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Linearly blends the existing color for a Collider with a random color that is built from the underlying physics object address.