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 |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Level Creation")
static ULevelStreaming * CreateNewStreamingLevel
(
TSubclassOf < ULevelStreaming > LevelStreamingClass,
const FString & NewLevelPath,
bool bMoveSelectedActorsIntoNewLevel
)
Remarks
Creates a new streaming level in the current world Returns the newly created level, or NULL on failure
Parameters
| Name | Description |
|---|---|
| LevelStreamingClass | The streaming class type instead to use for the level. |
| NewLevelPath | Optional path to the level package path format ("e.g /Game/MyLevel"). If empty, the user will be prompted during the save process. |
| bMoveSelectedActorsIntoNewLevel | If true, move any selected actors into the new level. |