Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLevelUtils > API/Editor/UnrealEd/UEditorLevelUtils/MoveActorsToLevel
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorLevelUtils.h |
| Include | #include "EditorLevelUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorLevelUtils.cpp |
static int32 MoveActorsToLevel
(
const TArray < AActor * > & ActorsToMove,
ULevel * DestLevel,
bool bWarnAboutReferences,
bool bWarnAboutRenaming,
bool bMoveAllOrFail,
TArray < AActor * > * OutActors
)
Remarks
Move provided actors to destination level. Returns the number of actors moved.
Parameters
| Name | Description |
|---|---|
| ActorsToMove | Actors to move. |
| DestLevel | Destination level to move the actors to. |
| bWarnAboutReferences | Whether or not to show a modal warning about referenced actors that may no longer function after being moved. |
| bWarnAboutRenaming | Whether or not to show a model warning for asset rename. |
| bMoveAllOrFail | Whether operation should fail if any of the actors fails to be moved. |
| OutActors | Optional, if not null the array will be filled with the newly moved actors. |