Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h |
Include |
#include "DynamicMeshEditor.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp |
bool StitchVertexLoopsMinimal
(
const TArray< int > & VertexLoop1,
const TArray< int > & VertexLoop2,
FDynamicMeshEditResult & ResultOut
)
Stitch together two loops of vertices with a quad-strip of triangles. Loops must be oriented (ordered) correctly for your use case. If loop edges are [a,b] and [c,d], then tris added are [b,a,d] and [a,c,d]
true if operation succeeded. If a failure occurs, any added triangles are removed via RemoveTriangles
Parameter |
Description |
---|---|
Loop1 |
first loop of sequential vertices |
Loop2 |
second loop of sequential vertices |
ResultOut |
lists of newly created triangles/vertices/etc |