Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_PolyPathF-
Description
Creates a PolyPath from an array of 2D position vectors. The Z-coordinate of the corresponding PolyPath vertices will be zero.
| Name | ConvertArrayOfVector2DToPolyPath |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolyPathFunctions.h |
| Include Path | #include "GeometryScript/PolyPathFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/PolyPathFunctions.cpp |
UFUNCTION (BlueprintCallable, Category="GeometryScript|PolyPath")
static void ConvertArrayOfVector2DToPolyPath
(
const TArray < FVector2D > & VertexArray,
FGeometryScriptPolyPath & PolyPath
)