FEditorFileUtils::SaveLevel

Saves the specified level.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h

Include

#include "FileHelpers.h"

Source

/Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp

Syntax

static bool SaveLevel
(
    ULevel * Level,
    const FString & DefaultFilename,
    FString * OutSavedFilename
)

Remarks

Saves the specified level. SaveAs is performed as necessary.

Saves the specified level. SaveAs is performed as necessary.

Returns

true if the level was saved.

Parameters

Parameter

Description

Level

The level to be saved.

DefaultFilename

File name to use for this level if it doesn't have one yet (or empty string to prompt)

OutSavedFilename

When returning true, this string will be set to the filename of the saved level.

Level

The level to be saved.

DefaultFilename

File name to use for this level if it doesn't have one yet (or empty string to prompt)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss