기술 자료

Unity Engine

Unity Engine

isFinite

Check if every value of the transform is finite, so neither NaN nor infinity.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

The check is performed entirely on the managed values, so it is cheap enough for per-frame use and never produces a validation report. See PhysicsMath.IsFinite.