Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UPreviewMesh
Description
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.
| Name | DeferredEditMesh |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h |
| Include Path | #include "PreviewMesh.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp |
void DeferredEditMesh
(
TFunctionRef < void &)> EditFunc,
bool bRebuildSpatial
)
Parameters
| Name | Remarks |
|---|---|
| EditFunc | function that is applied to the internal mesh |
| bRebuildSpatial | if true, and internal spatial data structure is enabled, rebuild it for updated mesh |