ドキュメント

Unity Engine

Unity Engine

isFinite

Check if every value of the transform is finite, so neither NaN nor infinity.
読み終わるまでの所要時間 1 分最終更新 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.