Navigation
API > API/Runtime > API/Runtime/Engine
WorldPartitionLevelStreamingDynamic
Dynamically controlled world partition level streaming implementation.
| Name | UWorldPartitionLevelStreamingDynamic |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionLevelStreamingDynamic.h |
| Include Path | #include "WorldPartition/WorldPartitionLevelStreamingDynamic.h" |
Syntax
UCLASS (NotPlaceable, NotBlueprintable, HideDropDown, MinimalAPI)
class UWorldPartitionLevelStreamingDynamic : public ULevelStreamingDynamic
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → ULevelStreaming → ULevelStreamingDynamic → UWorldPartitionLevelStreamingDynamic
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWorldPartitionLevelStreamingDynamic
(
const FObjectInitializer& ObjectInitializer |
WorldPartition/WorldPartitionLevelStreamingDynamic.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasSetLevelTransform | bool | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| bLoadRequestInProgress | bool | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| bLoadSucceeded | bool | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| bShouldBeAlwaysLoaded | bool | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| bShouldPerformStandardLevelLoading | bool | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| ChildPackages | TArray< FWorldPartitionRuntimeCellObjectMapping > | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| ChildPackagesToLoad | TArray< FWorldPartitionRuntimeCellObjectMapping > | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| OnCleanupLevelDelegateHandle | FDelegateHandle | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| OriginalLevelPackageName | FName | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| OuterWorldPartition | TSoftObjectPtr< UWorldPartition > | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| PackageReferencer | FWorldPartitionLevelHelper::FPackageReferencer | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| RuntimeLevel | TObjectPtr< ULevel > | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| StreamingCell | TWeakObjectPtr< const UWorldPartitionRuntimeLevelStreamingCell > | WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
| UnsavedActorsContainer | TObjectPtr< UActorContainer > | WorldPartition/WorldPartitionLevelStreamingDynamic.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Activate() |
Activates StreamingLevel by making sure it's in the World's StreamingLevels and that it should be loaded & visible | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
void Deactivate() |
Deactivates StreamingLevel (Remove from world, keep loaded) | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
bool GetLoadSucceeded() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
const FSoftObjectPath & GetOuterWorldPartition() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
const UWorldPartitionRuntimeCell * GetWorldPartitionRuntimeCell() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
void Initialize
(
const UWorldPartitionRuntimeLevelStreamingCell& InCell |
Initializes a UWorldPartitionLevelStreamingDynamic. | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
void Load() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
void SetLevelTransform
(
const FTransform& InLevelTransform |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
void SetShouldBeAlwaysLoaded
(
bool bInShouldBeAlwaysLoaded |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
void SetShouldPerformStandardLevelLoading
(
bool bInShouldPerformStandardLevelLoading |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
void Unload() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h |
Overridden from ULevelStreaming
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanReplicateStreamingStatus() |
Returns whether level status can be replicated from the server to the client | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
virtual TOptional< FFolder::FRootObject > GetFolderRootObject() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
virtual UWorld * GetStreamingWorld() |
Returns the UWorld that triggered the streaming of this streaming level. | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
virtual const IWorldPartitionCell * GetWorldPartitionCell() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
virtual bool RequestLevel
(
UWorld* PersistentWorld, |
Override ULevelStreaming. | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
virtual bool RequestVisibilityChange
(
bool bVisible |
Prepare the transition to the new state. | WorldPartition/WorldPartitionLevelStreamingDynamic.h | |
virtual bool ShouldBeAlwaysLoaded() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
virtual bool ShouldBlockOnUnload() |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
virtual bool ShouldRequireFullVisibilityToRender() |
Returns whether level should start to render only when it will be fully added to the world or not. | WorldPartition/WorldPartitionLevelStreamingDynamic.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Custom destroy (delegate removal) | WorldPartition/WorldPartitionLevelStreamingDynamic.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UWorldPartitionLevelStreamingDynamic * LoadInEditor
(
UWorld* World, |
WorldPartition/WorldPartitionLevelStreamingDynamic.h | ||
static void UnloadFromEditor
(
UWorldPartitionLevelStreamingDynamic* InLevelStreaming |
WorldPartition/WorldPartitionLevelStreamingDynamic.h |