FDynamicMeshEditor::StitchSparselyCorrespondedVertexLoops

Stitch together two loops of vertices where vertices are only sparsely corresponded

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 StitchSparselyCorrespondedVertexLoops
(
    const TArray< int > & VertexIDs1,
    const TArray< int > & MatchedIndices1,
    const TArray< int > & VertexIDs2,
    const TArray< int > & MatchedIndices2,
    FDynamicMeshEditResult & ResultOut
)

Remarks

Stitch together two loops of vertices where vertices are only sparsely corresponded

Returns

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

Parameters

Parameter

Description

VertexIDs1

first array of sequential vertices

MatchedIndices1

indices into the VertexIDs1 array of vertices that have a corresponding match in the VertexIDs2 array; Must be ordered

VertexIDs2

second array of sequential vertices

MatchedIndices2

indices into the VertexIDs2 array of vertices that have a corresponding match in the VertexIDs1 array; Must be ordered

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