Navigation
API > API/Runtime > API/Runtime/GeometryCore
Mesh generator that generates a quad for each edge of a closed polygon
| Name | FPolygonEdgeMeshGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/PolygonEdgeMeshGenerator.h |
| Include Path | #include "Generators/PolygonEdgeMeshGenerator.h" |
Syntax
class FPolygonEdgeMeshGenerator : public UE::Geometry::FMeshShapeGenerator
Inheritance Hierarchy
- FMeshShapeGenerator → FPolygonEdgeMeshGenerator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Generators/PolygonEdgeMeshGenerator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPolygonEdgeMeshGenerator() |
Generators/PolygonEdgeMeshGenerator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLimitCornerRadius | bool | Limit corner radius to prevent overlapping | Generators/PolygonEdgeMeshGenerator.h | |
| bRoundedCorners | bool | Use arc segments instead of straight lines in corners | Generators/PolygonEdgeMeshGenerator.h | |
| bScaleUVByAspectRatio | bool | Generators/PolygonEdgeMeshGenerator.h | ||
| bSinglePolyGroup | bool | If true, output mesh has a single polygroup, otherwise each quad gets a separate group | Generators/PolygonEdgeMeshGenerator.h | |
| CornerRadius | double | Radius of the corner arcs; this is only available if Rounded Corners is enabled | Generators/PolygonEdgeMeshGenerator.h | |
| NumArcVertices | int | Number of radial subdivisions for rounded corners | Generators/PolygonEdgeMeshGenerator.h | |
| UVHeight | double | Generators/PolygonEdgeMeshGenerator.h | ||
| UVWidth | double | Generators/PolygonEdgeMeshGenerator.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClosed | bool | True if Polygon represents a closed path. | Generators/PolygonEdgeMeshGenerator.h | |
| Normal | FVector3d | Normal vector of all vertices will be set to this value. Default is +Z axis. | Generators/PolygonEdgeMeshGenerator.h | |
| OffsetScaleFactors | TArray< double > | For each polygon vertex, a scale factor for the patch width at that vertex. | Generators/PolygonEdgeMeshGenerator.h | |
| Polygon | TArray< FFrame3d > | Polygon to thicken and triangulate. | Generators/PolygonEdgeMeshGenerator.h | |
| Width | double | Width of quads to generate. | Generators/PolygonEdgeMeshGenerator.h |
Functions
Public
Overridden from FMeshShapeGenerator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FMeshShapeGenerator & Generate() |
Generate triangulation TODO: Enable more subdivisions along the width and length dimensions if requested | Generators/PolygonEdgeMeshGenerator.h |