Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_PolygonLi-
Description
Returns the vertices of a Polygon either of the outer polygon, if HoleIndex is -1, or specified inner hole. OutVertices will be empty for invalid Polygon or Hole indices.
| Name | GetPolygonVertices |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolygonFunctions.h |
| Include Path | #include "GeometryScript/PolygonFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/PolygonFunctions.cpp |
UFUNCTION (BlueprintCallable, Category="GeometryScript|PolygonList", Meta=(ScriptMethod))
static void GetPolygonVertices
(
FGeometryScriptGeneralPolygonList PolygonList,
TArray < FVector2D > & OutVertices,
bool & bValidIndices,
int32 PolygonIndex,
int32 HoleIndex
)