UEditorEngine::ConvertBrushesToStaticMesh

Converts passed in brushes into a single static mesh actor.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

AActor * ConvertBrushesToStaticMesh
(
    const FString & InStaticMeshPackageName,
    TArray< ABrush * > & InBrushesToConvert,
    const FVector & InPivotLocation
)

Remarks

Converts passed in brushes into a single static mesh actor. Note: This replaces all the brushes with a single actor. This actor will not be attached to anything unless a single brush was converted.

Returns

Returns the newly created actor with the newly created static mesh.

Parameters

Parameter

Description

InStaticMeshPackageName

The name to save the brushes to.

InBrushesToConvert

A list of brushes being converted.

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