Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Description
Fill in overlay elements on new triangles, by copying values from provided edges. Used to fill in overlay values after a hole fill. Only supports fills where at most one new vertex is added inside the hole (e.g., does not support smooth hole fill)
| Name | UE::Geometry::HoleFillUtil::FillOverlayElements |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/HoleFillUtil.h |
| Include Path | #include "Operations/HoleFillUtil.h" |
namespace UE
{
namespace Geometry
{
namespace HoleFillUtil
{
template<typename OverlayType, typename EdgeEnumerateFn>
void UE::Geometry::HoleFillUtil::FillOverlayElements
(
const FDynamicMesh3 & Mesh,
OverlayType * Overlay,
EdgeEnumerateFn PerEdgeIDFn,
TConstArrayView< int32 > NewTriangles,
int32 NewVertex
)
}
}
}
Parameters
| Name | Remarks |
|---|---|
| Mesh | Mesh holding the Overlay |
| Overlay | The dynamic mesh overlay to update |
| PerEdgeIDFn | Enumerator function, which will call a passed-in method per Edge ID on the hole border |
| NewTriangles | Triangles that fill the hole |
| NewVertex | If not invalid, the at-most one vertex created when filling the hole. |