ULevelEditorSubsystem::SetCurrentLevelByName

Set the current level used by the world editor.

Unreal Engine C++ API Reference > Editor > LevelEditor > ULevelEditorSubsystem

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/LevelEditorSubsystem.h
Include #include "LevelEditorSubsystem.h"
Source /Engine/Source/Editor/LevelEditor/Private/LevelEditorSubsystem.cpp
bool SetCurrentLevelByName
(
    [FName](API\Runtime\Core\UObject\FName) LevelName
)

Remarks

Set the current level used by the world editor. If more than one level shares the same name, the first one encounter of that level name will be used. True if the operation succeeds.

Parameters

Name Description
LevelName The name of the Level the actor belongs to (same name as in the ContentBrowser).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library