Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h |
Include |
#include "PreviewMesh.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp |
void DeferredEditMesh
(
TFunctionRef< void &)> EditFunc,
bool bRebuildSpatial
)
Apply EditFunc to the internal mesh, and update spatial data structure if requested, but do not update/rebuild rendering data structures. NotifyDeferredEditOcurred() must be called to complete a deferred edit, this will update the rendering mesh. DeferredEditMesh can be called multiple times before NotifyDeferredEditCompleted() is called.
Parameter |
Description |
---|---|
EditFunc |
function that is applied to the internal mes |
bRebuildSpatial |
if true, and internal spatial data structure is enabled, rebuild it for updated mesh |