Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_34
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;SimplePolygon", Meta&61;&40;ScriptMethod&41;&41;
static void SetPolygonVertex
&40;
FGeometryScriptSimplePolygon Polygon,
int32 VertexIndex,
FVector2D Position,
bool & bPolygonIsEmpty
&41;
Remarks
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.