Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FGeomTools2D
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/GeomTools.h |
Include | #include "GeomTools.h" |
Source | /Engine/Source/Runtime/Engine/Private/GeomTools.cpp |
static bool IsPointInPolygon
&40;
const FVector2D & TestPoint,
const TArray< FVector2D > & PolygonPoints
&41;
Remarks
Returns true if TestPoint is inside the polygon defined by PolygonPoints.