EdgeUtilities.IsValidPoint(Vector2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.