Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > FPoly
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Polys.h |
Include | #include "Engine/Polys.h" |
template<typename ArrayType>
static void GetOutsideWindings
(
ABrush * InOwnerBrush,
ArrayType & InPolygons,
TArray < TArray < FVector3f > > & InWindings
)
Remarks
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.
Parameters
Name | Description |
---|---|
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 |