/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshRegionOperator.h
[TODO] Should this share any code w/ RegionRemesher? [TODO] ReinsertSubToBaseMapT is not returned by theFDynamicMeshEditor.ReinsertSubmesh, instead we are trying to guess it here, by making some assumptions about what happens. It works for now, but it would better ifFDynamicMeshEditorreturned this information.
class FMeshRegionOperator
FDynamicMesh3&...
BaseMesh
TArray< int >
CurrentBaseTris
IDs of triangles in the base mesh that correspond to the submesh at time of last Compute or BackPropagate.
FDynamicSubmesh...
Region
FDynamicMeshEdi...
ReinsertDuplicateTriBehavior
Handle a tricky problem...see comments for EDuplicateTriBehavior enum
FOptionallySpar...
ReinsertSubToBaseMapT
Note computation of this is kind of a hack right now; see TODO in class comment above.
FOptionallySpar...
ReinsertSubToBaseMapV
This is only valid after BackPropagate() call!! maps submeshverts to base mesh