Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FBaseRevolveGenerator
- FRevolvePlanarPolygonGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/RevolveGenerator.h |
| Include | #include "Generators/RevolveGenerator.h" |
Syntax
class FRevolvePlanarPolygonGenerator : public UE::Geometry::FBaseRevolveGenerator
Remarks
Revolve a planar polygon (in the XY plane) around the +Z axis along a circular 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 |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDynamicMesh3 | GenerateMesh () |
Generate the mesh |