Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_30
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolyPathFunctions.h |
| Include | #include "GeometryScript/PolyPathFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/PolyPathFunctions.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"GeometryScript&124;PolyPath",
Meta&61;&40;ScriptMethod, DisplayName&61;"Flatten To 2D On Axis"&41;&41;
static FGeometryScriptPolyPath FlattenTo2DOnAxis
&40;
FGeometryScriptPolyPath PolyPath,
EGeometryScriptAxis DropAxis
&41;
Remarks
Create a 2D, flattened copy of the path by dropping the given axis, and using the other two coordinates as the new X, Y coordinates.