UEditorLevelUtils::SetLevelVisibilityTemporarily

Sets the actors within a level's visibility via bHiddenEdLevel.

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 SetLevelVisibilityTemporarily
(
    ULevel * Level,
    bool bShouldBeVisible
)

Remarks

Sets the actors within a level's visibility via bHiddenEdLevel. Warning: modifies [ULevel::bIsVisible](API\Runtime\Engine\Engine\ULevel\bIsVisible) and bHiddenEdLevel without marking packages dirty or supporting undo. Calling code must restore to the original state before the user can interact with the levels.

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