| FMeshShapeGenerator
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/PlanarPolygonMeshGenerator.h |
Include |
#include "Generators/PlanarPolygonMeshGenerator.h" |
class FPlanarPolygonMeshGenerator : public FMeshShapeGenerator
Generate planar triangulation of a Polygon.
Name | Description | ||
---|---|---|---|
|
IndicesMap |
How to map 2D indices to 3D. Default is (0,1) = (x,y,0). |
|
|
Normal |
Normal vector of all vertices will be set to this value. Default is +Z axis. |
|
|
Polygon |
Polygon to triangulate. If Polygon has self-intersections or degenerate edges, result is undefined. |
Name | Description | |
---|---|---|
|
FPlanarPolygonMeshGenerator() |
Name | Description | ||
---|---|---|---|
|
MakeVertex ( |
Create vertex at position under IndicesMap, shifted to Origin |
|
|
SetPolygon |
Initialize the polygon from an array of 2D vertices |
Name | Description | ||
---|---|---|---|
|
FMeshShapeGe... |
Generate() |
Generate the triangulation |