Modifier

Partager via


EdgeUtilities.IsValidPoint(Vector2) Method

Definition

Checks to see if a point is valid.

public:
 static bool IsValidPoint(UnityEngine::Vector2 point);
public static bool IsValidPoint (UnityEngine.Vector2 point);
static member IsValidPoint : UnityEngine.Vector2 -> bool
Public Shared Function IsValidPoint (point As Vector2) As Boolean

Parameters

point
UnityEngine.Vector2

The point to check.

Returns

True if the point is valid, false otherwise.

Remarks

A point is considered invalid if any one of its coordinate values are infinite or not a number.

Applies to