FStreamLevelAction

Stream Level Action.

Windows
MacOS
Linux

Inheritance Hierarchy

FPendingLatentAction

FStreamLevelAction

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h

Include

#include "Engine/LevelStreaming.h"

Syntax

class FStreamLevelAction : public FPendingLatentAction

Remarks

Stream Level Action.

Variables

Name Description

Public variable

bool

 

bLoading

Public variable

bool

 

bMakeVisibleAfterLoad

Public variable

bool

 

bShouldBlock

Public variable

FLatentActionIn...

 

LatentInfo

Public variable

TWeakObjectPtr<...

 

Level

Public variable

FName

 

LevelName

Constructors

Name Description

Public function

FStreamLevelAction

(
    bool bIsLoading,
    const FName& InLevelName,
    bool bIsMakeVisibleAfterLoad,
    bool bShouldBlock,
    const FLatentActionInfo& InLatentI...,
    UWorld* World
)

Functions

Name Description

Public function

void

 

ActivateLevel

(
    ULevelStreaming* LevelStreamin...
)

Handles "Activated" for single ULevelStreaming object.

Public function Static

ULevelStream...

 

FindAndCacheLevelStreamingObject

(
    const FName LevelName,
    UWorld* InWorld
)

Helper function to potentially find a level streaming object by name and cache the result

Public function Static

FString

 

MakeSafeLevelName

(
    const FName& InLevelName,
    UWorld* InWorld
)

Given a level name, returns level name that will work with Play on Editor or Play on Console

Public function

bool

 

UpdateLevel

(
    ULevelStreaming* LevelStreamin...
)

Handles "UpdateOp" for single ULevelStreaming object.

Overridden from FPendingLatentAction

Name Description

Public function Virtual Const

FString

 

GetDescription()

Returns a human readable description of the latent operation's current state.

Public function Virtual

void

 

UpdateOperation

(
    FLatentResponse& Response
)

Return true when the action is completed.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss