Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPoly
Description
Takes a set of polygons and returns a vertex array representing the outside winding for them.
NOTE : This will work for convex or concave sets of polygons but not for concave polygons with holes.
| Name | GetOutsideWindings |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Polys.h |
| Include Path | #include "Engine/Polys.h" |
template<typename ArrayType>
static void GetOutsideWindings
(
ABrush * InOwnerBrush,
ArrayType & InPolygons,
TArray < TArray < FVector3f > > & InWindings
)
Parameters
| Name | Remarks |
|---|---|
| InOwnerBrush | The brush that owns the polygons. |
| InPolygons | An array of FPolys that you want to get the winding for |
| InWindings | The resulting sets of vertices that represent the windings |