Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshEditor
Description
Find "new" vertex for input vertex under Index mapping, or create new if missing
| Name | FindOrCreateDuplicateVertex |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMeshEditor.h |
| Include Path | #include "DynamicMeshEditor.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMeshEditor.cpp |
int FindOrCreateDuplicateVertex
(
int VertexID,
FMeshIndexMappings & IndexMaps,
FDynamicMeshEditResult & ResultOut
)
index of duplicate vertex
Parameters
| Name | Remarks |
|---|---|
| VertexID | the source vertex we want a copy of |
| IndexMaps | source/destination mapping of already-duplicated vertices |
| ResultOut | newly-created vertices are stored here |