편집

다음을 통해 공유


EdgeUtilities.IsInsideBoundary(Edge[], Vector2) Method

Definition

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.

Applies to