Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h |
Include |
#include "Engine/LevelStreaming.h" |
class ULevelStreaming : public UObject
Abstract base class of container object encapsulating data required for streaming and providing interface for when a level should be streamed in and out of memory.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bDisableDistanceStreaming |
Whether this level streaming object should be ignored by world composition distance streaming, so streaming state can be controlled by other systems (ex: in blueprints) |
|
uint8: 1 |
bDrawOnLevelStatusMap |
If true, will be drawn on the 'level streaming status' map (STAT LEVELMAP console command) |
|
uint8: 1 |
bIsStatic |
Whether this level only contains static actors that aren't affected by gameplay or replication. |
|
uint8: 1 |
bLocked |
Whether this level is locked; that is, its actors are read-only. |
|
uint8: 1 |
bShouldBeLoaded |
Whether the level should be loaded |
|
uint8: 1 |
bShouldBlockOnLoad |
Whether we want to force a blocking load |
|
uint8: 1 |
bShouldBlockOnUnload |
Whether we want to force a blocking unload |
|
EditorStreamingVolumes |
The level streaming volumes bound to this level. |
|
|
Keywords |
List of keywords to filter on in the level browser |
|
|
float |
LastVolumeUnloadRequestTime |
Time of last volume unload request. Used in preventing spurious unload requests. |
|
LevelColor |
The level color used for visualization. (Show -> Advanced -> Level Coloration) |
|
|
LevelTransform |
Transform applied to actors after loading. |
|
|
LODPackageNames |
LOD versions of this level |
|
|
LODPackageNamesToLoad |
LOD package names on disk |
|
|
float |
MinTimeBetweenVolumeUnloadRequests |
Cooldown time in seconds between volume-based unload requests. |
|
OnLevelHidden |
Called when level is removed from the world |
|
|
OnLevelLoaded |
Called when level is streamed in |
|
|
OnLevelShown |
Called when level is added to the world |
|
|
OnLevelUnloaded |
Called when level is streamed out |
|
|
PackageNameToLoad |
If this isn't Name_None, then we load from this package on disk to the new package named PackageName |
Name | Description | |
---|---|---|
|
ULevelStreaming ( |
Name | Description | ||
---|---|---|---|
|
AddLevelToCollectionAfterReload() |
||
|
BroadcastLevelLoadedStatus |
Traverses all streaming level objects in the persistent world and in all inner worlds and calls appropriate delegate for streaming objects that refer specified level |
|
|
BroadcastLevelVisibleStatus |
Traverses all streaming level objects in the persistent world and in all inner worlds and calls appropriate delegate for streaming objects that refer specified level |
|
|
ClearLoadedLevel() |
Sets the LoadedLevel value to NULL |
|
|
ULevelStream... |
CreateInstance ( |
Creates a new instance of this streaming level with a provided unique instance name |
|
const TCHAR ... |
EnumToString ( |
|
|
ECurrentStat... |
GetCurrentState() |
Returns the current loaded/visible state of the streaming level. |
|
const FName ... |
GetFolderPath() |
Get the folder path for this level for use in the world browser. Only available in editor builds |
|
GetIsRequestingUnloadAndRemoval() |
Returns if the streaming level has requested to be unloaded and removed. |
|
|
GetLevelLODIndex() |
Returns the world composition level LOD index. |
|
|
ALevelScript... |
GetLevelScriptActor() |
Returns the Level Script Actor of the level if the level is loaded and valid |
|
ULevel * |
GetLoadedLevel() |
Gets a pointer to the LoadedLevel value |
|
GetPriority() |
Sets the relative priority of considering the streaming level. |
|
|
GetShouldBeVisibleFlag() |
Returns the value of bShouldBeVisible. |
|
|
GetShouldBeVisibleInEditor() |
Returns if the streaming level should be visible in the editor. |
|
|
GetStreamingVolumeBounds() |
Get a bounding box around the streaming volumes associated with this LevelStreaming object |
|
|
UWorld * |
GetWorld() |
|
|
const TSoftO... |
GetWorldAsset() |
Returns a constant reference to the world asset this streaming level object references |
|
GetWorldAssetPackageFName() |
Gets the package name for the world asset referred to by this level streaming as an FName |
|
|
GetWorldAssetPackageName() |
Gets the package name for the world asset referred to by this level streaming |
|
|
HasLoadedLevel() |
Returns whether the streaming level has loaded a level. |
|
|
HasLoadRequestPending() |
Returns whether the streaming level is in the loading state. |
|
|
IsLevelLoaded() |
Returns whether streaming level is loaded |
|
|
IsLevelVisible() |
Returns whether streaming level is visible |
|
|
IsStreamingStatePending() |
Returns whether level has streaming state change pending |
|
|
IsValidStreamingLevel() |
Returns false if the level package associated to that streaming level is invalid. |
|
|
RemoveLevelFromCollectionForReload() |
After a sub level is reloaded in the editor the cache state needs to be refreshed. |
|
|
RemoveStreamingVolumeDuplicates() |
Remove duplicates in EditorStreamingVolumes list |
|
|
RenameForPIE ( |
Rename package name to PIE appropriate name |
|
|
SetFolderPath ( |
Sets the folder path for this level in the world browser. Only available in editor builds |
|
|
SetIsRequestingUnloadAndRemoval ( |
Sets if the streaming level should be unloaded and removed. |
|
|
SetLevelLODIndex ( |
Sets the world composition level LOD index and marks the streaming level as requiring consideration. |
|
|
SetPriority ( |
Sets the relative priority of considering the streaming level. |
|
|
SetShouldBeLoaded ( |
Virtual that can be overriden to change whether a streaming level should be loaded. |
|
|
SetShouldBeVisible ( |
Sets the should be visible flag and marks the streaming level as requiring consideration. |
|
|
SetShouldBeVisibleInEditor ( |
Sets if the streaming level should be visible in the editor. |
|
|
SetWorldAsset ( |
Setter for WorldAsset. |
|
|
SetWorldAssetByPackageName ( |
Sets the world asset based on the package name assuming it contains a world of the same name. |
|
|
ShouldBeAlwaysLoaded() |
||
|
ShouldBeLoaded() |
Return whether this level should be present in memory which in turn tells the streaming code to stream it in. |
|
|
ShouldBeVisible() |
Return whether this level should be visible/ associated with the world if it is loaded. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostEditUndo() |
Override Pre/PostEditUndo functions to handle editor transform |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name |
Description |
|
---|---|---|
|
FPackageNameMatcher |
Matcher for searching streaming levels by PackageName |
Name |
Description |
|
---|---|---|
|
ECurrentState |
|
|
EReqLevelBlock |
|
|
ETargetState |
Name | Description | ||
---|---|---|---|
|
DrawColor_DEPRECATED |
Deprecated level color used for visualization. |
|
|
PackageName_DEPRECATED |
Deprecated name of the package containing the level to load. |