Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FFlatTriangulationMeshGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/FlatTriangulationMeshGenerator.h |
| Include | #include "Generators/FlatTriangulationMeshGenerator.h" |
Syntax
class FFlatTriangulationMeshGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Generate planar triangulation of a Polygon.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FIndex2i | IndicesMap | How to map 2D indices to 3D. Default is (0,1) = (x,y,0). | |
| FVector3f | Normal | Normal vector of all vertices will be set to this value. Default is +Z axis. | |
| TArray< FIndex3i > | Triangles2D | Source triangle indices | |
| TArray< int > | Triangles2DPolygroups | Optional polygroup IDs per triangle ignored if empty | |
| TArray< FVector2d > | Vertices2D | Vertices of 2D triangulation. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector3d | MakeVertex
(
double x, |
Create vertex at position under IndicesMap, shifted to Origin |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate the triangulation |