UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FRevolvePlanarPolygonGenerator Class Reference

#include <RevolveGenerator.h>

+ Inheritance diagram for UE::Geometry::FRevolvePlanarPolygonGenerator:

Public Member Functions

GEOMETRYCORE_API FDynamicMesh3 GenerateMesh ()
 

Public Attributes

TArray< FVector2dPolygonVertices
 
bool bWeldVertsOnAxis = false
 
- Public Attributes inherited from UE::Geometry::FBaseRevolveGenerator
int32 Steps = 16
 
float RevolveDegrees = 360.0f
 
float DegreeOffset = 0.0f
 
bool bReverseDirection = false
 
bool bProfileAtMidpoint = false
 
bool bFillPartialRevolveEndcaps = true
 
FVector2d UVScale = FVector2d(1,1)
 
FVector2d UVOffset = FVector2d(0, 0)
 
bool bUVScaleRelativeWorld = false
 
float UnitUVInWorldCoordinates = 100
 
EProfileSweepQuadSplit QuadSplitMethod = EProfileSweepQuadSplit::Uniform
 
double DiagonalTolerance = 0.01
 
EProfileSweepPolygonGrouping PolygonGroupingMode = EProfileSweepPolygonGrouping::PerFace
 

Additional Inherited Members

- Public Types inherited from UE::Geometry::FBaseRevolveGenerator
enum class  ECapFillMode { None , EarClipping }
 

Detailed Description

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)

Member Function Documentation

◆ GenerateMesh()

FDynamicMesh3 FRevolvePlanarPolygonGenerator::GenerateMesh ( )

Generate the mesh

Member Data Documentation

◆ bWeldVertsOnAxis

bool UE::Geometry::FRevolvePlanarPolygonGenerator::bWeldVertsOnAxis = false

If true, vertices that lie on the +Z axis will be welded

◆ PolygonVertices

TArray<FVector2d> UE::Geometry::FRevolvePlanarPolygonGenerator::PolygonVertices

Vertices of the planar polygon that will be revolved


The documentation for this class was generated from the following files: