文档

Unity Engine

Unity Engine

IsFinite(Vector2)

Get whether both components of the specified vector are finite i.e. neither NaN nor infinite.
阅读时间1 分钟最后更新于 1 个月前

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.