UEditorEngine::ConvertActors

Sets up for a potentially deferred ConvertActors call, based on if any brushes are being converted to a static mesh.

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

void ConvertActors
(
    const TArray< AActor * > & ActorsToConvert,
    UClass * ConvertToClass,
    const TSet< FString > & ComponentsToConsider,
    bool bUseSpecialCases
)

Remarks

Sets up for a potentially deferred ConvertActors call, based on if any brushes are being converted to a static mesh. If one (or more) are being converted, the user will need to put in a package before the process continues.

Parameters

Parameter

Description

ActorsToConvert

Array of actors which should be converted to the new class type

ConvertToClass

Class to convert the provided actors to

ComponentsToConsider

Names of components to consider for property copying as well

bUseSpecialCases

If true, looks for classes that can be handled by hardcoded conversions

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