Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLevelUtils
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 CopyActorsToLevel
(
const TArray < AActor * > & ActorsToMove,
ULevel * DestLevel,
bool bWarnAboutReferences,
bool bWarnAboutRenaming,
bool bMoveAllOrFail,
TArray < AActor * > * OutActors
)
Remarks
Copy provided actors to destination level. Returns the number of actors copied.
Parameters
| Name | Description |
|---|---|
| ActorsToMove | Actors to copy. |
| DestLevel | Destination level to copy the actors to. |
| bWarnAboutReferences | Whether or not to show a modal warning about referenced actors that may no longer function after being copied. |
| 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 copied. |
| OutActors | Optional, if not null the array will be filled with the newly copied actors. |