Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UPreviewMesh
Description
Notify that a deferred edit is completed and cause update of rendering data structures for modified Vertices. This can reduce the cost of mesh updates, but only if SetEnableRenderMeshDecomposition(true) has been called
| Name | NotifyVertexRegionDeferredEditCompleted |
| 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 NotifyVertexRegionDeferredEditCompleted
(
const TArray < int32 > & Vertices,
EMeshRenderAttributeFlags ModifiedAttribs
)
Parameters
| Name | Remarks |
|---|---|
| ModifiedAttribs | which mesh attributes have been modified and need to be updated |