FGeomTools::TriangulatePoly

Given a polygon, decompose into triangles and append to OutTris.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GeomTools.h

Include

#include "GeomTools.h"

Source

/Engine/Source/Runtime/Engine/Private/GeomTools.cpp

Syntax

namespace FGeomTools
{
    bool FGeomTools::TriangulatePoly
    (
        TArray< FClipSMTriangle > & OutTris,
        const FClipSMPolygon & InPoly,
        bool bKeepColinearVertices
    )
}

Remarks

Given a polygon, decompose into triangles and append to OutTris. Given a polygon, decompose into triangles and append to OutTris.

Returns

true if the triangulation was successful.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss