Language:
Discover
By Skill Level
By Category

UEditorLoadingAndSavingUtils

Choose your OS:

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UEditorLoadingAndSavingUtils

Syntax

class UEditorLoadingAndSavingUtils : public UObject

Remarks

This class is a wrapper for editor loading and saving functionality It is meant to contain only functions that can be executed in script (but are also allowed in C++). It is separated from FEditorFileUtils to ensure new easier to use methods can be created without breaking FEditorFileUtils backwards compatibility However this should be used in place of FEditorFileUtils wherever possible as the goal is to deprecate FEditorFileUtils eventually

Functions

Name Description

Public function Static

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

 

ExportScene

(
    bool bExportSelectedActorsOnly
)

Exports the current scene

Public function Static

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

 

GetDirtyContentPackages

(
    TArray < UPackage * >& OutDirty...
)

Appends array with all currently dirty content packages.

Public function Static

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

 

GetDirtyMapPackages

(
    TArray < UPackage * >& OutDirty...
)

Appends array with all currently dirty map packages.

Public function Static

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

 

ImportScene

(
    const FString & Filename
)

Imports a file such as (FBX or obj) and spawns actors f into the current level

Public function Static

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

 

LoadMap

(
    const FString & Filename
)

Loads the specified map.

Public function Static

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

 

LoadMapWithDialog()

Prompts the user to save the current map if necessary, the presents a load dialog and loads a new map if selected by the user.

Public function Static

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

 

NewBlankMap

(
    bool bSaveExistingMap
)

Public function Static

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

 

NewMapFromTemplate

(
    const FString & PathToTemplateLevel,
    bool bSaveExistingMap
)

Public function Static

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

 

SaveCurrentLevel()

Saves the active level, prompting the use for checkout if necessary.

Public function Static

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

 

SaveDirtyPackages

(
    const bool bSaveMapPackages,
    const bool bSaveContentPackages
)

Looks at all currently loaded packages and saves them if their "bDirty" flag is set.

Public function Static

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

 

SaveDirtyPackagesWithDialog

(
    const bool bSaveMapPackages,
    const bool bSaveContentPackages
)

Looks at all currently loaded packages and saves them if their "bDirty" flag is set.

Public function Static

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

 

SaveMap

(
    UWorld * World,
    const FString & AssetPath
)

Saves the specified map, returning true on success.

true if the map was saved successfully.

Public function Static

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

 

SavePackages

(
    const TArray < UPackage * >& Pa...,
    bool bOnlyDirty
)

Save all packages.

Public function Static

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

 

SavePackagesWithDialog

(
    const TArray < UPackage * >& Pa...,
    bool bOnlyDirty
)

Save all packages.

Public function Static

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

 

UnloadPackages

(
    const TArray < UPackage * >& Pa...,
    bool& bOutAnyPackagesUnloaded,
    FText & OutErrorMessage
)

Unloads a list of packages

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/FileHelpers.h