Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_SimplePol-
Description
Set the specified vertex of a Simple Polygon. VertexIndex loops around, so e.g., -1 gives the last vertex in the polygon. Does nothing if Polygon has no vertices.
| Name | SetPolygonVertex |
| 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|SimplePolygon", Meta=(ScriptMethod))
static void SetPolygonVertex
(
UPARAM FGeometryScriptSimplePolygon Polygon,
int32 VertexIndex,
FVector2D Position,
bool & bPolygonIsEmpty
)