Language:
Discover
By Skill Level
By Category

UEditorLevelUtils

Choose your OS:

Inheritance Hierarchy

Syntax

class UEditorLevelUtils : public UObject

Functions

Name Description

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

AddLevelsToWorld

(
    UWorld * InWorld,
    TArray < FString > LevelPackageNames,
    TSubclassOf < ULevelStreaming > Leve...
)

Adds the named level packages to the world.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

AddLevelToWorld

(
    UWorld * InWorld,
    const TCHAR * LevelPackageName,
    TSubclassOf < ULevelStreaming > Leve...,
    const FTransform & LevelTransform
)

Adds the named level package to the world.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

CreateNewLevel

(
    UWorld * InWorld,
    bool bMoveSelectedActorsIntoNewLeve...,
    TSubclassOf < ULevelStreaming > Leve...,
    const FString & DefaultFilename
)

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

CreateNewStreamingLevel

(
    TSubclassOf < ULevelStreaming > Leve...,
    const FString & NewLevelPath,
    bool bMoveSelectedActorsIntoNewLeve...
)

Creates a new streaming level in the current world

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

CreateNewStreamingLevelForWorld

(
    UWorld & World,
    TSubclassOf < ULevelStreaming > Leve...,
    const FString & DefaultFilename,
    bool bMoveSelectedActorsIntoNewLeve...
)

Creates a new streaming level and adds it to a world

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

DeselectAllSurfacesInLevel

(
    ULevel * InLevel
)

Deselects all BSP surfaces in this level

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

GetWorlds

(
    UWorld * InWorld,
    TArray < UWorld * >& OutWorlds,
    bool bIncludeInWorld,
    bool bOnlyEditorVisible
)

Assembles the set of all referenced worlds.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MakeLevelCurrent

(
    ULevel * InLevel,
    bool bEvenIfLocked
)

Makes the specified level the current level for editing.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MakeLevelCurrent

(
    ULevelStreaming * InStreamingLe...
)

Makes the specified streaming level the current level for editing.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MoveActorsToLevel

(
    const TArray < AActor * >& Acto...,
    ULevel * DestLevel,
    bool bWarnAboutReferences
)

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MoveActorsToLevel

(
    const TArray < AActor * >& Acto...,
    ULevelStreaming * DestStreaming...,
    bool bWarnAboutReferences
)

Moves the specified list of actors to the specified streaming level.

Public function Static

void

 

MovesActorsToLevel

(
    TArray < AActor * >& ActorsToMo...,
    ULevelStreaming * DestLevelStre...,
    int32 & OutNumMovedActors
)

Moves the specified list of actors to the specified level

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MoveSelectedActorsToLevel

(
    ULevel * DestLevel,
    bool bWarnAboutReferences
)

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MoveSelectedActorsToLevel

(
    ULevelStreaming * DestLevel,
    bool bWarnAboutReferences
)

Moves the currently selected actors to the specified streaming level.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

RemoveInvalidLevelFromWorld

(
    ULevelStreaming * InLevelStream...
)

Removes the specified LevelStreaming from the world, and Refreshes.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

RemoveLevelFromWorld

(
    ULevel * InLevel
)

Removes the specified level from the world. Refreshes.

true If a level was removed.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

SetLevelVisibility

(
    ULevel * Level,
    bool bShouldBeVisible,
    bool bForceLayersVisible,
    ELevelVisibilityDirtyMode ModifyMod...
)

Sets a level's visibility in the editor.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

SetLevelVisibilityTemporarily

(
    ULevel * Level,
    bool bShouldBeVisible
)

Sets the actors within a level's visibility via bHiddenEdLevel.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

SetStreamingClassForLevel

(
    ULevelStreaming * InLevel,
    TSubclassOf < ULevelStreaming > Leve...
)

Sets the LevelStreamingClass for the specified Level

The new streaming level object

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorLevelUtils.h