Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


minPolygonEdgeLength

Get the minimum length of an edge in a polygon built from arbitrary vertices. Two vertices closer together than this are welded into one when the polygon is built. This value is 4.0f * _linearSlop.
Read time 1 minuteLast updated 13 days ago

Definition

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