UEditorEngine::WarnAboutHiddenLevels

Warns the user of any hidden levels, and prompts them with a Yes/No dialog for whether they wish to continue with the operation.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

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

Syntax

bool WarnAboutHiddenLevels
(
    UWorld * InWorld,
    bool bIncludePersistentLvl
) const

Remarks

Warns the user of any hidden levels, and prompts them with a Yes/No dialog for whether they wish to continue with the operation. No dialog is presented if all levels are visible. The return value is true if no levels are hidden or the user selects "Yes", or false if the user selects "No".

Returns

false if the user selects "No", true otherwise.

Parameters

Parameter

Description

InWorld

World context

bIncludePersistentLvl

If true, the persistent level will also be checked for visibility

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