Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshEditor
Description
Append overlay elements in both ROIs from one overlay to another
Required overloads should be declared in the .cpp file
| Name | AppendElementSubset |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMeshEditor.h |
| Include Path | #include "DynamicMeshEditor.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMeshEditor.cpp |
template<typename RealType, int ElementSize>
void AppendElementSubset
(
const FDynamicMesh3 * FromMesh,
const TSet< int > & TriangleROI,
const TSet< int > & VertexROI,
const TDynamicMeshOverlay < RealType, ElementSize > * FromOverlay,
TDynamicMeshOverlay < RealType, ElementSize > * ToOverlay
)
Parameters
| Name | Remarks |
|---|---|
| FromMesh | Mesh that owns FromOverlay attribute overlay |
| TriangleROI | Triangles containing the copied overlay elements |
| VertexROI | Parent vertices of the copied overlay elements |
| FromOverlay | Overlay we want to append from (owned by FromMesh) |
| ToOverlay | Overlay we want to append into (owned by .Mesh) |