UBspConversionTool::ConvertThenCombine

The more complicated conversion path, where we convert brushes individually and use static mesh boolean operations to combine them.

Choose your operating system:

Windows

macOS

Linux

References

Module

MeshModelingToolsEditorOnly

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnly/Public/BspConversionTool.h

Include

#include "BspConversionTool.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnly/Private/BspConversionTool.cpp

Syntax

bool ConvertThenCombine
(
    FText * ErrorMessage
)

Remarks

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.

Returns

false if BrushesToConvert is empty or a conversion gives invalid geometry, true otherwise.

Parameters

Parameter

Description

ErrorMessage

Place to write out error message if a conversion results in invalid geometry.