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 |
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
)
Remarks
Append overlay elements in both ROIs from one overlay to another
Required overloads should be declared in the .cpp file
Parameters
| Name | Description |
|---|---|
| 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) |