Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshOverlay.h |
Include |
#include "DynamicMeshOverlay.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshOverlay.cpp |
void SplitVerticesWithPredicate
(
TFunctionRef< bool> ShouldSplitOutVertex,
TFunctionRef< void> GetNewElementValue
)
Refine an existing overlay topology. For any element on a given triangle, if the predicate returns true, it gets topologically split out so it isn't shared by any other triangle. Used for creating sharp vertices in the normals overlay.
Parameter |
Description |
---|---|
ShouldSplitOutVertex |
predicate returns true of the element should be split out and not shared w/ any other triangle |
GetNewElementValue |
function to assign a new value to any element that is split out |