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