Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FGeomTools2D
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/GeomTools.h |
Include | #include "GeomTools.h" |
Source | /Engine/Source/Runtime/Engine/Private/GeomTools.cpp |
static void CorrectPolygonWinding
&40;
TArray< FVector2D > & OutVertices,
const TArray< FVector2D > & Vertices,
const bool bNegativeWinding
&41;
Remarks
Corrects the polygon winding to match bNegativeWinding Ie. If the vertex order doesn't match the winding, it is reversed Returns empty array of points if num points < 3