Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_29
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolygonFunctions.h |
| Include | #include "GeometryScript/PolygonFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/PolygonFunctions.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"GeometryScript&124;PolygonList", Meta&61;&40;ScriptMethod&41;&41;
static void GetPolygonVertices
&40;
FGeometryScriptGeneralPolygonList PolygonList,
TArray< FVector2D > & OutVertices,
bool & bValidIndices,
int32 PolygonIndex,
int32 HoleIndex
&41;
Remarks
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.