기술 자료

Unity Engine

Unity Engine

isValid

Whether the geometry describes a chain segment that can be used.
읽는 시간 1분최근 업데이트: 24일 전

Definition

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

Remarks

Both ghost vertices must be finite, and ChainSegmentGeometry.segment must itself be valid. See SegmentGeometry.isValid.