EdgeUtilities.IsInsideBoundary(Edge[], 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.
Determines if the specified point is within the provided geometry.
public:
static bool IsInsideBoundary(cli::array <Microsoft::MixedReality::Toolkit::Boundary::Edge> ^ geometryEdges, UnityEngine::Vector2 point);
public static bool IsInsideBoundary (Microsoft.MixedReality.Toolkit.Boundary.Edge[] geometryEdges, UnityEngine.Vector2 point);
static member IsInsideBoundary : Microsoft.MixedReality.Toolkit.Boundary.Edge[] * UnityEngine.Vector2 -> bool
Public Shared Function IsInsideBoundary (geometryEdges As Edge(), point As Vector2) As Boolean
Parameters
- geometryEdges
- Edge[]
The geometry for which we are checking the point.
- point
- UnityEngine.Vector2
The point being checked.
Returns
True if the point falls within the geometry, false otherwise.