Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshEditor
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMeshEditor.h |
| Include | #include "DynamicMeshEditor.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMeshEditor.cpp |
int FindOrCreateDuplicateNormal
(
int ElementID,
int NormalLayerIndex,
FMeshIndexMappings & IndexMaps,
FDynamicMeshEditResult * ResultOut
)
Remarks
Find "new" normal for input normal element under Index mapping, or create new if missing index of duplicate normal in given normal layer
Parameters
| Name | Description |
|---|---|
| ElementID | the source normal we want a duplicate of |
| NormalLayerIndex | which normal layer to consider |
| IndexMaps | source/destination mapping of already-duplicated normals |
| ResultOut | any newly created element indices are stored in NewNormalOverlayElements here. Note that NewNormalOverlayElements must have size > NormalLayerIndex. |