Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorFileUtils
Description
Saves the specified level. SaveAs is performed as necessary.
Saves the specified level. SaveAs is performed as necessary.
| Name | SaveLevel |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include Path | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static bool SaveLevel
(
ULevel * Level,
const FString & DefaultFilename,
FString * OutSavedFilename
)
true if the level was saved.
Parameters
| Name | Remarks |
|---|---|
| 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) |