Navigation
API > API/Editor > API/Editor/NewLevelDialog > API/Editor/NewLevelDialog/FNewLevelDialogModule
References
| Module | NewLevelDialog |
| Header | /Engine/Source/Editor/NewLevelDialog/Public/NewLevelDialogModule.h |
| Include | #include "NewLevelDialogModule.h" |
| Source | /Engine/Source/Editor/NewLevelDialog/Private/NewLevelDialogModule.cpp |
virtual bool CreateAndShowNewLevelDialog
&40;
const TSharedPtr< const SWidget > ParentWidget,
FString & OutTemplateMapPackageName,
bool bShowPartitionedTemplates,
bool & bOutPartitionedWorld,
FTemplateMapInfo &42; OutTemplateMapInfo,
EShowEmptyTemplate ShowEmptyTemplate
&41;
Remarks
Creates and show a window with an SNewLevelDialog true if the user selected a valid item, false if the user canceled
Parameters
| Name | 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. |
| bShowPartitionedTemplates | If true, we allow partitioned world templates to be shown in the dialog. |
| bOutPartitionedWorld | (out) If true and OutTemplateName is empty, the empty map should be partitioned. |
| OutTemplateMapInfo | (out) If not null, will be set to the template map selected by the user. |
| ShowEmptyTemplate | Control if 'Empty Level' template should appear or not |