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 CreateFromPredicate
(
TFunctionRef< bool> TrisCanShareVertexPredicate,
RealType InitElementValue
)
Build overlay topology from a predicate function, e.g. to build topology for sharp normals
if a vertex can be shared between tris A and B, and B and C, it will be shared between all three
Parameter |
Description |
---|---|
TrisCanShareVertexPredicate |
Indicator function returns true if the given vertex can be shared for the given pair of triangles |
InitElementValue |
Initial element value, copied into all created elements |