Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLevelUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorLevelUtils.h |
| Include | #include "EditorLevelUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorLevelUtils.cpp |
static void ForEachWorlds
(
UWorld * InWorld,
TFunctionRef < bool> Operation,
bool bIncludeInWorld,
bool bOnlyEditorVisible
)
Remarks
Executes an operation on the set of all referenced worlds.
Parameters
| Name | Description |
|---|---|
| InWorld | World containing streaming levels |
| Operation | The operation to execute on the referenced worlds, return false to break iteration |
| bIncludeInWorld | If true, include the InWorld in the output list. |
| bOnlyEditorVisible | If true, only sub-levels that should be visible in-editor are included |