Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolTargetUtil.h |
| Include | #include "ModelingToolTargetUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingToolTargetUtil.cpp |
namespace UE
{
namespace ToolTarget
{
bool UE&58;&58;ToolTarget&58;&58;ApplyIncrementalMeshEditChange
&40;
UToolTarget &42; Target,
TFunctionRef< bool(UE::Geometry::FDynamicMesh3 &EditMesh, UObject &42;TransactionTarget)> MeshEditingFunc
&41;
}
}
Remarks
Apply an incremental mesh edit (MeshEditingFunc) to the ToolTarget. Tools/etc can use this to directly modify the ToolTarget's internal DynamicMesh, while (presumably) also emitting a FChange transaction that represents that Edit. This allows for undoable edits directly to a DynamicMeshComponent/etc in the level. true if the incremental edit succeeds