UWorld::FollowWorldRedirectorInPackage

If the specified package contains a redirector to a [UWorld](API\Runtime\Engine\Engine\UWorld), that [UWorld](API\Runtime\Engine\Engine\UWorld) is returned.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

static UWorld * FollowWorldRedirectorInPackage
(
    UPackage * Package,
    UObjectRedirector ** OptionalOutRedirector
)

Remarks

If the specified package contains a redirector to a UWorld, that UWorld is returned. Otherwise, nullptr is returned.

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