文档

Unity Engine

Unity Engine

vertexDistance

Controls the minimum distance allowed between generated vertices.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float vertexDistance { get; set; }

Remarks

Controls the minimum distance allowed between generated vertices. Any vertices closer than or equal to this distance will be removed. Setting too high a distance can result in nothing being generated.