Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLevelUtils
Description
Sets the actors within a level's visibility via bHiddenEdLevel. Warning: modifies 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.
| Name | SetLevelVisibilityTemporarily |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorLevelUtils.h |
| Include Path | #include "EditorLevelUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorLevelUtils.cpp |
static void SetLevelVisibilityTemporarily
(
ULevel * Level,
bool bShouldBeVisible
)