UEditorLevelUtils::SetLevelsVisibility

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 SetLevelsVisibility
(
    const TArray< ULevel * > & Levels,
    const TArray< bool > & bShouldBeVisible,
    const bool bForceLayersVisible,
    const ELevelVisibilityDirtyMode ModifyMode
)

Remarks

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

Parameters

Parameter

Description

Levels

The levels to modify.

bShouldBeVisible

The level's new visibility state for each level.

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