UPreviewMesh::DeferredEditMesh

Apply EditFunc to the internal mesh, and update spatial data structure if requested, but do not update/rebuild rendering data structures.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h

Include

#include "PreviewMesh.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp

Syntax

void DeferredEditMesh
(
    TFunctionRef< void &)> EditFunc,
    bool bRebuildSpatial
)

Remarks

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.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss