FPoly::Triangulate

Breaks down this polygon into triangles. The triangles are then returned to the caller in an array.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Polys.h

Include

#include "Engine/Polys.h"

Source

/Engine/Source/Runtime/Engine/Private/Polygon.cpp

Syntax

int32 Triangulate
(
    ABrush * InOwnerBrush,
    TArray< FPoly > & OutTriangles
)

Remarks

Breaks down this polygon into triangles. The triangles are then returned to the caller in an array.

Returns

The number of triangles created

Parameters

Parameter

Description

InOwnerBrush

The brush that owns this polygon.

OutTriangles

An array to store the resulting triangles in.

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