Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FBaseRevolveGenerator
- FSpiralRevolvePlanarPolygonGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/RevolveGenerator.h |
| Include | #include "Generators/RevolveGenerator.h" |
Syntax
class FSpiralRevolvePlanarPolygonGenerator : public UE::Geometry::FBaseRevolveGenerator
Remarks
Revolve a planar polygon (in the XY plane) around the +Z axis along a spiral path. (+X, +Y) in the 2D polygon is mapped to (+X, 0, +Z)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bWeldVertsOnAxis | If true, vertices that lie on the +Z axis will be welded | |
| TArray< FVector2d > | PolygonVertices | Vertices of the planar polygon that will be revolved | |
| double | RisePerFullRevolution | Vertical rise of the spiral path per full 360-degree revolution |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDynamicMesh3 | GenerateMesh () |
Generate the mesh |