FPoly::OptimizeIntoConvexPolys

Optimizes a set of polygons into a smaller set of convex polygons.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/Polys.h"

Syntax

template<typename ArrayType>
static void OptimizeIntoConvexPolys
(
    ABrush * InOwnerBrush,
    ArrayType & InPolygons
)

Remarks

Optimizes a set of polygons into a smaller set of convex polygons.

Parameters

Parameter

Description

InOwnerBrush

The brush that owns the polygons.

InPolygons

An array of FPolys that will be replaced with a new set of polygons that are merged together as much as possible.

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