FDynamicMeshEditor::FindOrCreateDuplicateVertex

Mesh element copying / duplication

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

int FindOrCreateDuplicateVertex
(
    int VertexID,
    FMeshIndexMappings & IndexMaps,
    FDynamicMeshEditResult & ResultOut
)

Remarks

Find "new" vertex for input vertex under Index mapping, or create new if missing

Returns

index of duplicate vertex

Parameters

Parameter

Description

VertexID

the source vertex we want a copy of

IndexMaps

source/destination mapping of already-duplicated vertices

ResultOut

newly-created vertices are stored here

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