Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorldSubsystem
Description
Returns a reference to the UWorld this subsystem is contained within.
This should not be called on default object since the method assumes a valid outer world.
| Name | GetWorldRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Subsystems/WorldSubsystem.h |
| Include Path | #include "Subsystems/WorldSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Subsystems/WorldSubsystem.cpp |
UWorld & GetWorldRef() const