isValid
Whether the geometry describes a capsule that can be used.
読み終わるまでの所要時間 1 分最終更新 22日前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly bool isValid { get; }
Remarks
Both centers must be finite and further apart than PhysicsWorld.minEdgeLength, and the radius must be finite and zero or greater. See CapsuleGeometry.areEdgesValid for the center separation on its own.