Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshRegionBoundaryLoops.h |
Include |
#include "MeshRegionBoundaryLoops.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshRegionBoundaryLoops.cpp |
template<typename StorageType, int ElementSize, typename ElementType>
void UpdateLoopOverlayMapValidity
(
VidOverlayMap< ElementType > & LoopVidsToOverlayElements,
const TDynamicMeshOverlay< StorageType, ElementSize > & Overlay
)
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).