FMeshRegionBoundaryLoops::UpdateLoopOverlayMapValidity

Given a map generated by [GetLoopOverlayMap()](API\Plugins\DynamicMesh\FMeshRegionBoundaryLoops\GetLoopOverlayMap), checks that the overlay elements pointed to by the map still exist in the overlay, and sets the ID to be invalid if not.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshRegionBoundaryLoops.h

Include

#include "MeshRegionBoundaryLoops.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshRegionBoundaryLoops.cpp

Syntax

template<typename StorageType, int ElementSize, typename ElementType>
void UpdateLoopOverlayMapValidity
(
    VidOverlayMap< ElementType > & LoopVidsToOverlayElements,
    const TDynamicMeshOverlay< StorageType, ElementSize > & Overlay
)

Remarks

Given a map generated by GetLoopOverlayMap(), checks that the overlay elements pointed to by the map still exist in the overlay, and sets the ID to be invalid if not. This can be called after deleting the triangles inside a loop to update the generated map and remove any UV elements that no longer exist (because the vertex was on a UV seam).

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