Navigation
API > API/Runtime > API/Runtime/GeometryCore
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)
| Name | FRevolvePlanarPolygonGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/RevolveGenerator.h |
| Include Path | #include "Generators/RevolveGenerator.h" |
Syntax
class FRevolvePlanarPolygonGenerator : public UE::Geometry::FBaseRevolveGenerator
Inheritance Hierarchy
- FBaseRevolveGenerator → FRevolvePlanarPolygonGenerator
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWeldVertsOnAxis | bool | If true, vertices that lie on the +Z axis will be welded | Generators/RevolveGenerator.h | |
| PolygonVertices | TArray< FVector2d > | Vertices of the planar polygon that will be revolved | Generators/RevolveGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDynamicMesh3 GenerateMesh() |
Generate the mesh | Generators/RevolveGenerator.h |