IsFinite(Vector2)
Get whether both components of the specified vector are finite i.e. neither NaN nor infinite.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static bool IsFinite(Vector2 value)
Parameters
The vector to check.
Returns
Type | Description |
|---|---|
| bool | Whether the vector is finite. |