UEditorLevelUtils::SetLevelVisibility

Sets a level's visibility in the editor.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "EditorLevelUtils.h"

Source

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

Syntax

static void SetLevelVisibility
(
    ULevel * Level,
    const bool bShouldBeVisible,
    const bool bForceLayersVisible,
    const ELevelVisibilityDirtyMode ModifyMode
)

Remarks

Sets a level's visibility in the editor. Less efficient than SetLevelsVisibility when changing the visibility of multiple levels simultaneously.

Parameters

Parameter

Description

Level

The level to modify.

bShouldBeVisible

The level's new visibility state.

bForceLayersVisible

If true and the level is visible, force the level's layers to be visible.

ModifyMode

ELevelVisibilityDirtyMode mode value.

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