Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULevelStreaming
Description
Setter for WorldAsset. Use this instead of setting WorldAsset directly to update the cached package name.
| Name | SetWorldAsset |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h |
| Include Path | #include "Engine/LevelStreaming.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelStreaming.cpp |
virtual void SetWorldAsset
(
const TSoftObjectPtr < UWorld > & NewWorldAsset
)