Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

value

The vector to check.

Returns

Type

Description

boolWhether the vector is finite.