Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULevelInstanceSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CheckForLoop
(
const ILevelInstanceInterface* LevelInstance, |
LevelInstance/LevelInstanceSubsystem.h | ||
static bool CheckForLoop
(
const ILevelInstanceInterface* LevelInstance, |
Lambda expr format that checks ancestor owners of a LevelInstance. | LevelInstance/LevelInstanceSubsystem.h |
CheckForLoop(const ILevelInstanceInterface , TArray< TPair< FText, TSoftObjectPtr< UWorld > > > , const ILevelInstanceInterface **)
| Name | CheckForLoop |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/LevelInstance/LevelInstanceSubsystem.h |
| Include Path | #include "LevelInstance/LevelInstanceSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelInstance/LevelInstanceSubsystem.cpp |
static bool CheckForLoop
(
const ILevelInstanceInterface * LevelInstance,
TArray < TPair< FText , TSoftObjectPtr < UWorld > > > * LoopInfo,
const ILevelInstanceInterface ** LoopStart
)
CheckForLoop(const ILevelInstanceInterface , TSoftObjectPtr< UWorld >, TArray< TPair< FText, TSoftObjectPtr< UWorld > > > , const ILevelInstanceInterface **)
Description
Lambda expr format that checks ancestor owners of a LevelInstance. Detects if the WorldAsset shares the same package as the current LevelInstance or any of its ancestors owning the LevelInstance. Used in conjunction with ForEachLevelInstanceAncestorsAndSelf to find a loop using a boolean lambda capture.
| Name | CheckForLoop |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/LevelInstance/LevelInstanceSubsystem.h |
| Include Path | #include "LevelInstance/LevelInstanceSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelInstance/LevelInstanceSubsystem.cpp |
static bool CheckForLoop
(
const ILevelInstanceInterface * LevelInstance,
TSoftObjectPtr < UWorld > WorldAsset,
TArray < TPair< FText , TSoftObjectPtr < UWorld > > > * LoopInfo,
const ILevelInstanceInterface ** LoopStart
)