文档

Unity Engine

Unity Engine

isValid

Whether the geometry describes a segment that can be used.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly bool isValid { get; }

Remarks

Both points must be finite and further apart than PhysicsWorld.minEdgeLength. See SegmentGeometry.areEdgesValid for the point separation on its own.