Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp > API/Plugins/MeshModelingToolsEditorOnlyExp/UBspConversionTool
Description
The more complicated conversion path, where we convert brushes individually and use static mesh boolean operations to combine them. Boolean operations fail when geometry is non-manifold, which happens in the case of stair brushes, mainly, due to them not being properly closed. The preview gets cleared in the case of an error.
| Name | ConvertThenCombine |
| Type | function |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/BspConversionTool.h |
| Include Path | #include "BspConversionTool.h" |
| Source | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Private/BspConversionTool.cpp |
bool ConvertThenCombine
(
FText * ErrorMessage
)
false if BrushesToConvert is empty or a conversion gives invalid geometry, true otherwise.
Parameters
| Name | Remarks |
|---|---|
| ErrorMessage | Place to write out error message if a conversion results in invalid geometry. |