ULevelStreamingDynamic

LevelStreamingDynamic Dynamically controlled streaming implementation.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LevelStreamingDynamic.h

Include

#include "Engine/LevelStreamingDynamic.h"

Syntax

class ULevelStreamingDynamic : public ULevelStreaming

Remarks

LevelStreamingDynamic

Dynamically controlled streaming implementation.

Variables

Name Description

Public variable

uint32: 1

 

bInitiallyLoaded

Whether the level should be loaded at startup

Public variable

uint32: 1

 

bInitiallyVisible

Whether the level should be visible at startup if it is loaded

Constructors

Name Description

Public function

ULevelStreamingDynamic

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

ULevelStream...

 

LoadLevelInstance

(
    UObject* WorldContextObject,
    FString LevelName,
    FVector Location,
    FRotator Rotation,
    bool& bOutSuccess
)

Stream in a level with a specific location and rotation.

Public function Static

ULevelStream...

 

LoadLevelInstanceBySoftObjectPtr

(
    UObject* WorldContextObject,
    TSoftObjectPtr< UWorld > Level,
    FVector Location,
    FRotator Rotation,
    bool& bOutSuccess
)

Overridden from ULevelStreaming

Name Description

Public function Virtual

void

 

SetShouldBeLoaded

(
    bool bInShouldBeLoaded
)

Virtual that can be overriden to change whether a streaming level should be loaded.

Public function Virtual Const

bool

 

ShouldBeLoaded()

Return whether this level should be present in memory which in turn tells the streaming code to stream it in.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Constants

Name

Description

UniqueLevelInstanceId

Counter used by LoadLevelInstance to create unique level names.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback