文档

Unity Engine

Unity Engine

minPolygonCollinearDistance

Get the minimum perpendicular distance a vertex must be from the line through its neighbors in a polygon built from arbitrary vertices. A vertex closer than this is treated as collinear and removed when the polygon is built. This value is 2.0f * PhysicsWorld.linearSlop.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static float minPolygonCollinearDistance { get; }