UBspConversionTool::ConvertThenCombine

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

Windows
MacOS
Linux

References

Module

MeshModelingToolsEditorOnly

Header

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

Include

#include "BspConversionTool.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss