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.