Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FPolygonEdgeMeshGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/PolygonEdgeMeshGenerator.h |
| Include | #include "Generators/PolygonEdgeMeshGenerator.h" |
Syntax
class FPolygonEdgeMeshGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Mesh generator that generates a quad for each edge of a closed polygon
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLimitCornerRadius | Limit corner radius to prevent overlapping | |
| bool | bRoundedCorners | Use arc segments instead of straight lines in corners | |
| bool | bScaleUVByAspectRatio | ||
| bool | bSinglePolyGroup | If true, output mesh has a single polygroup, otherwise each quad gets a separate group | |
| double | CornerRadius | Radius of the corner arcs; this is only available if Rounded Corners is enabled | |
| int | NumArcVertices | Number of radial subdivisions for rounded corners | |
| double | UVHeight | ||
| double | UVWidth |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPolygonEdgeMeshGenerator
(
const TArray< FFrame3d >& InPolygon, |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate triangulation TODO: Enable more subdivisions along the width and length dimensions if requested |