Navigation
API > API/Runtime > API/Runtime/GeometryCore
Revolve a planar polyline (in the XY plane) around the +Z axis along a circular path (+X, +Y) in the 2D polyline is mapped to (+X, 0, +Z)
| Name | FRevolvePlanarPathGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/RevolveGenerator.h |
| Include Path | #include "Generators/RevolveGenerator.h" |
Syntax
class FRevolvePlanarPathGenerator : public UE::Geometry::FBaseRevolveGenerator
Inheritance Hierarchy
- FBaseRevolveGenerator → FRevolvePlanarPathGenerator
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCapped | bool | If true, open tops/bottoms of the revolved shape are capped | Generators/RevolveGenerator.h | |
| PathVertices | TArray< FVector2d > | Vertices of the planar polyline/path that will be revolved | Generators/RevolveGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDynamicMesh3 GenerateMesh() |
Generate the mesh | Generators/RevolveGenerator.h |