Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isFinite

Check if every value of the transform is finite, so neither NaN nor infinity.
Read time 1 minuteLast updated 14 days ago

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.