Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FNonManifoldMappingSupport
Description
Attaches or replaces non-manifold vertex mapping data to the provided mesh. Note: Failure occurs if the DynamicMesh does not have attributes enabled or if the provided array is not long enough to provide a mapping value for each DynamicMesh vertex id.
| Name | AttachNonManifoldVertexMappingData |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/NonManifoldMappingSupport.h |
| Include Path | #include "DynamicMesh/NonManifoldMappingSupport.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/NonManifoldMappingSupport.cpp |
static bool AttachNonManifoldVertexMappingData
(
const TArray < int32 > & VertexToNonManifoldVertexIDMap,
FDynamicMesh3 & MeshInOut
)
false on failure (no attribute will be attached to the DynamicMesh in this case)
Parameters
| Name | Remarks |
|---|---|
| VertexToNonManifoldVertexIDMap | an array that maps each DynamicMesh vertex id to the associated non-manifold vertex id. |