Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
UWorld * GetWorldFromContextObject
(
const UObject * Object,
EGetWorldErrorMode ErrorMode
) const
Obtain a world object pointer from an object with has a world context.
The world to which the object belongs or nullptr if it cannot be found.
Parameter |
Description |
---|---|
Object |
Object whose owning world we require. |
ErrorMode |
Controls what happens if the Object cannot be found |