Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | UEditorLevelUtils |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorLevelUtils.h |
| Include Path | #include "EditorLevelUtils.h" |
Syntax
UCLASS (Transient)
class UEditorLevelUtils : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEditorLevelUtils
Classes
| Name | Remarks |
|---|---|
| FOnMoveActorsToLevelEvent | Delegate used by MoveActorsToLevel() to notify about actors being moved |
Structs
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCanMoveActorToLevelDelegate | TMulticastDelegate_ThreeParams< void, const AActor *, const ULevel *, bool & > | Delegate used by MoveActorsToLevel() to check whether an actor can be moved | EditorLevelUtils.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CanMoveActorToLevelDelegate | FCanMoveActorToLevelDelegate | EditorLevelUtils.h | |
| OnMoveActorsToLevelEvent | FOnMoveActorsToLevelEvent | EditorLevelUtils.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ULevel * AddLevelsToWorld
(
UWorld* InWorld, |
Adds the named level packages to the world. | EditorLevelUtils.h | |
static ULevelStreaming * AddLevelToWorld
(
UWorld* InWorld, |
Adds the named level package to the world. Does nothing if the level already exists in the world. | EditorLevelUtils.h | |
static ULevelStreaming * AddLevelToWorld
(
UWorld* InWorld, |
EditorLevelUtils.h | ||
static ULevelStreaming * AddLevelToWorld_Internal
(
UWorld* InWorld, |
EditorLevelUtils.h | ||
| Copy provided actors to destination level. | EditorLevelUtils.h | ||
| EditorLevelUtils.h | |||
static ULevelStreaming * CreateNewStreamingLevel
(
TSubclassOf< ULevelStreaming > LevelStreamingClass, |
Creates a new streaming level in the current world | EditorLevelUtils.h |
|
static ULevelStreaming * CreateNewStreamingLevelForWorld
(
UWorld& InWorld, |
Creates a new streaming level and adds it to a world | EditorLevelUtils.h | |
static ULevelStreaming * CreateNewStreamingLevelForWorld
(
UWorld& World, |
Creates a new streaming level and adds it to a world | EditorLevelUtils.h | |
static ULevelStreaming * CreateNewStreamingLevelForWorld
(
UWorld& World, |
Creates a new streaming level and adds it to a world | EditorLevelUtils.h | |
static void DeselectAllSurfacesInLevel
(
ULevel* InLevel |
Deselects all BSP surfaces in this level | EditorLevelUtils.h | |
static void ForEachWorlds
(
UWorld* InWorld, |
Executes an operation on the set of all referenced worlds. | EditorLevelUtils.h | |
| Returns all levels for a world. | EditorLevelUtils.h |
|
|
| Assembles the set of all referenced worlds. | EditorLevelUtils.h | ||
static ULevelStreaming * K2_AddLevelToWorld
(
UWorld* World, |
Adds the named level package to the world. | EditorLevelUtils.h |
|
static ULevelStreaming * K2_AddLevelToWorldWithTransform
(
UWorld* World, |
Adds the named level package to the world at the given position. | EditorLevelUtils.h |
|
static bool K2_RemoveLevelFromWorld
(
ULevel* InLevel, |
Removes given level from the world. | EditorLevelUtils.h |
|
static void MakeLevelCurrent
(
ULevel* InLevel, |
Makes the specified level the current level for editing. | EditorLevelUtils.h | |
static void MakeLevelCurrent
(
ULevelStreaming* InStreamingLevel |
Makes the specified streaming level the current level for editing. | EditorLevelUtils.h |
|
static int32 MoveActorsToLevel
(
const TArray< AActor* >& ActorsToMove, |
Moves the specified list of actors to the specified streaming level. | EditorLevelUtils.h |
|
| Move provided actors to destination level. | EditorLevelUtils.h | ||
static int32 MoveSelectedActorsToLevel
(
ULevel* DestLevel, |
Move selected actors to destination level. | EditorLevelUtils.h | |
static int32 MoveSelectedActorsToLevel
(
ULevelStreaming* DestLevel, |
Moves the currently selected actors to the specified streaming level. | EditorLevelUtils.h |
|
static void PrivateDestroyLevel
(
ULevel* Level |
EditorLevelUtils.h | ||
static bool PrivateRemoveInvalidLevelFromWorld
(
ULevelStreaming* InLevelStreaming |
EditorLevelUtils.h | ||
static void PrivateRemoveLevelFromWorld
(
ULevel* Level |
Utility methods used by RemoveLevelsFromWorld | EditorLevelUtils.h | |
static bool RemoveInvalidLevelFromWorld
(
ULevelStreaming* InLevelStreaming |
Removes the specified LevelStreaming from the world, and Refreshes. | EditorLevelUtils.h | |
static bool RemoveLevelFromWorld
(
ULevel* InLevel, |
Removes the specified level from the world. Refreshes. | EditorLevelUtils.h | |
| Removes the specified levels from the world. Refreshes. | EditorLevelUtils.h | ||
static void SetLevelsVisibility
(
const TArray< ULevel* >& Levels, |
Sets a level's visibility in the editor. | EditorLevelUtils.h |
|
static void SetLevelVisibility
(
ULevel* Level, |
Sets a level's visibility in the editor. | EditorLevelUtils.h |
|
static void SetLevelVisibilityTemporarily
(
ULevel* Level, |
Sets the actors within a level's visibility via bHiddenEdLevel. | EditorLevelUtils.h | |
static ULevelStreaming * SetStreamingClassForLevel
(
ULevelStreaming* InLevel, |
Sets the LevelStreamingClass for the specified Level | EditorLevelUtils.h |