Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
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.
| Name | UE::ToolTarget::ApplyIncrementalMeshEditChange |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolTargetUtil.h |
| Include Path | #include "ModelingToolTargetUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingToolTargetUtil.cpp |
namespace UE
{
namespace ToolTarget
{
bool UE::ToolTarget::ApplyIncrementalMeshEditChange
(
UToolTarget * Target,
TFunctionRef < bool &EditMesh, UObject *TransactionTarget)> MeshEditingFunc
)
}
}
true if the incremental edit succeeds