Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Provides an API to allow external methods to update the mesh or meshes managed by a tool
| Name | IModelingToolExternalDynamicMeshUpdateAPI |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolExternalMeshUpdateAPI.h |
| Include Path | #include "ModelingToolExternalMeshUpdateAPI.h" |
Syntax
class IModelingToolExternalDynamicMeshUpdateAPI
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowToolMeshUpdates() |
ModelingToolExternalMeshUpdateAPI.h | ||
virtual int32 NumToolMeshes() |
ModelingToolExternalMeshUpdateAPI.h | ||
virtual void ProcessToolMeshes
(
TFunctionRef< void(const UE::Geometry::FDynamicMesh3&, int32 MeshIdx)> UpdateMesh |
Read the current tool meshes. | ModelingToolExternalMeshUpdateAPI.h | |
virtual void UpdateToolMeshes
(
TFunctionRef< TUniquePtr< FMeshRegionChangeBase >(UE::Geometry::FDynamicMesh3&, int32 MeshIdx)> Upd... |
Update the tool meshes with the provided method, then emit any resulting change transaction(s) and do associated book-keeping required by the tool (updating any spatial data-structures, rendering, etc) | ModelingToolExternalMeshUpdateAPI.h |