Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_PolygonLi-
Description
Returns the specified vertex of a Polygon either of the outer polygon, if HoleIndex is -1, or specified inner hole. Vertex will be the zero vector for invalid Polygon or Hole indices, or if the polygon is empty. VertexIndex will loop.
| Name | GetPolygonVertex |
| 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 FVector2D GetPolygonVertex
(
FGeometryScriptGeneralPolygonList PolygonList,
bool & bIsValidVertex,
int32 VertexIndex,
int32 PolygonIndex,
int32 HoleIndex
)