UEditorLevelUtils::GetWorlds

Assembles the set of all referenced worlds.

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 GetWorlds
(
    UWorld * InWorld,
    TArray< UWorld * > & OutWorlds,
    bool bIncludeInWorld,
    bool bOnlyEditorVisible
)

Remarks

Assembles the set of all referenced worlds.

Parameters

Parameter

Description

InWorld

World containing streaming levels

Worlds

[out] The set of referenced worlds.

bIncludeInWorld

If true, include the InWorld in the output list.

bOnlyEditorVisible

If true, only sub-levels that should be visible in-editor are included

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