Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh > API/Runtime/GeometryCore/DynamicMesh/TDynamicMeshOverlay
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOverlay.h |
| Include | #include "DynamicMesh/DynamicMeshOverlay.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMeshOverlay.cpp |
void SplitVerticesWithPredicate
&40;
TFunctionRef< bool(int ElementIdx, int TriID)> ShouldSplitOutVertex,
TFunctionRef< void(int ElementIdx, int TriID, RealType &42;FillVect)> GetNewElementValue
&41;
Remarks
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.
Parameters
| Name | 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 |