Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > ULevelStreaming
- ULevelStreaming::RequestLevel()
- UWorldPartitionLevelStreamingDynamic::RequestLevel()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h |
Include | #include "Engine/LevelStreaming.h" |
Source | /Engine/Source/Runtime/Engine/Private/LevelStreaming.cpp |
virtual bool RequestLevel
(
UWorld * PersistentWorld,
bool bAllowLevelLoadRequests,
EReqLevelBlock BlockPolicy
)
Remarks
Try to find loaded level in memory, issue a loading request otherwise true if the load request was issued or a package was already loaded
Parameters
Name | Description |
---|---|
PersistentWorld | Persistent world |
bAllowLevelLoadRequests | Whether to allow level load requests |
BlockPolicy | Whether loading operation should block |