Navigation
API > API/Runtime > API/Runtime/Engine
Stream Level Action.
| Name | FStreamLevelAction |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h |
| Include Path | #include "Engine/LevelStreaming.h" |
Syntax
class FStreamLevelAction : public FPendingLatentAction
Inheritance Hierarchy
- FPendingLatentAction → FStreamLevelAction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStreamLevelAction
(
bool bIsLoading, |
Engine/LevelStreaming.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLoading | bool | Engine/LevelStreaming.h | ||
| bMakeVisibleAfterLoad | bool | Engine/LevelStreaming.h | ||
| bShouldBlock | bool | Engine/LevelStreaming.h | ||
| LatentInfo | FLatentActionInfo | Engine/LevelStreaming.h | ||
| Level | TWeakObjectPtr< ULevelStreaming > | Engine/LevelStreaming.h | ||
| LevelName | FName | Engine/LevelStreaming.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ActivateLevel
(
ULevelStreaming* LevelStreamingObject |
Handles "Activated" for single ULevelStreaming object. | Engine/LevelStreaming.h | |
bool UpdateLevel
(
ULevelStreaming* LevelStreamingObject |
Handles "UpdateOp" for single ULevelStreaming object. | Engine/LevelStreaming.h |
Overridden from FPendingLatentAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDescription() |
Returns a human readable description of the latent operation's current state. | Engine/LevelStreaming.h | |
virtual void UpdateOperation
(
FLatentResponse& Response |
Return true when the action is completed. | Engine/LevelStreaming.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ULevelStreaming * FindAndCacheLevelStreamingObject
(
const FName LevelName, |
Helper function to potentially find a level streaming object by name and cache the result | Engine/LevelStreaming.h | |
static FString MakeSafeLevelName
(
const FName& InLevelName, |
Given a level name, returns level name that will work with Play on Editor or Play on Console | Engine/LevelStreaming.h |