FDynamicMeshEditor::StitchVertexLoopsMinimal

Create and Remove Triangle Functions.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h

Include

#include "DynamicMeshEditor.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp

Syntax

bool StitchVertexLoopsMinimal
(
    const TArray< int > & VertexLoop1,
    const TArray< int > & VertexLoop2,
    FDynamicMeshEditResult & ResultOut
)

Remarks

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]

Returns

true if operation succeeded. If a failure occurs, any added triangles are removed via RemoveTriangles

Parameters

Parameter

Description

Loop1

first loop of sequential vertices

Loop2

second loop of sequential vertices

ResultOut

lists of newly created triangles/vertices/etc

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss