Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_16
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshPrimitiveFunctions.h |
| Include | #include "GeometryScript/MeshPrimitiveFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshPrimitiveFunctions.cpp |
static UDynamicMesh &42; AppendRevolvePolygon
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptPrimitiveOptions PrimitiveOptions,
FTransform Transform,
const TArray< FVector2D > & PolygonVertices,
FGeometryScriptRevolveOptions RevolveOptions,
float Radius,
int32 Steps,
UGeometryScriptDebug &42; Debug
&41;
Remarks
In the coordinate system of the revolve polygon, +X is towards the "outside" of the revolve donut, and +Y is "up" (ie +Z in local space) Polygon should be oriented counter-clockwise to produce a correctly-oriented shape, otherwise it will be inside-out Polygon endpoint is not repeated.