The description of this mesh generator in the documentation says that it generates a mesh from a closed polygon of edges, by creating a quad for each edge.
So I would’ve expected the constructor to take a TArray
of TTuple
s of FVector
s describing each edge. Or perhaps just an array of vectors in order describing the edge sequence.
But instead the constructor is like this:
FPolygonEdgeMeshGenerator (
const TArray< FFrame3d >& InPolygon,
bool bInClosed,
const TArray< double >& InOffsetScaleFactors,
double InWidth,
FVector3d InNormal,
bool bInRoundedCorners,
double InCornerRadius,
bool bInLimitCornerRadius,
int InNumArcVertices
)
This takes an array of FFrame3d
structs, which I have no clue how to use to describe a list of edges. Looking in the FFrame3d
struct I can see that the only two spatially defined properties are the FVector Origin
and FRotator
that describes the plane normal. Any help on how to use this constructor would be very appreciated!
For more detail I have a polygon that is a list of vertices like this image and I would like to fill it something like as I have drawn with lines: