FNewLevelDialogModule::CreateAndShowNewLevelDialog

Creates and show a window with an SNewLevelDialog

Windows
MacOS
Linux

References

Module

NewLevelDialog

Header

/Engine/Source/Editor/NewLevelDialog/Public/NewLevelDialogModule.h

Include

#include "NewLevelDialogModule.h"

Source

/Engine/Source/Editor/NewLevelDialog/Private/NewLevelDialogModule.cpp

Syntax

virtual bool CreateAndShowNewLevelDialog
(
    const TSharedPtr< const SWidget > ParentWidget,
    FString & OutTemplateMapPackageName
)

Remarks

Creates and show a window with an SNewLevelDialog

Returns

true if the user selected a valid item, false if the user canceled

Parameters

Parameter

Description

ParentWidget

The parent widget for the modal window showing the dialog

OutTemplateName

(out) The package name of the template map selected by the user. Empty if blank map selected.

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