Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorActorSubsystem
Description
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.
| Name | ConvertBrushesToStaticMesh |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h |
| Include Path | #include "Subsystems/EditorActorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorActorSubsystem.cpp |
static AActor * ConvertBrushesToStaticMesh
(
const FString & InStaticMeshPackageName,
TArray < ABrush * > & InBrushesToConvert,
const FVector & InPivotLocation
)
Returns the newly created actor with the newly created static mesh.
Parameters
| Name | Remarks |
|---|---|
| InStaticMeshPackageName | The name to save the brushes to. |
| InBrushesToConvert | A list of brushes being converted. |