Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UWorldPartitionRuntimeCell
- UWorldPartitionRuntimeLevelStreamingCell
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionRuntimeCell.h |
| Include | #include "WorldPartition/WorldPartitionRuntimeCell.h" |
Syntax
class UWorldPartitionRuntimeCell :
public UObject,
public IWorldPartitionCell
Remarks
Represents a PIE/Game streaming cell which points to external actor/data chunk packages
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsAlwaysLoaded | ||
| FGuid | CellGuid | ||
| float | DebugStreamingPriority | Represents the streaming priority relative to other cells. | |
| FName | LevelPackageName | ||
| TObjectPtr< UWorldPartitionRuntimeCellData > | RuntimeCellData | ||
| FGuid | SourceCellGuid | Used by injected HLOD cells. | |
| TObjectPtr< UActorContainer > | UnsavedActorsContainer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWorldPartitionRuntimeCell
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Activate () |
||
| void | AddActorToCell
(
const FWorldPartitionActorDescView& ActorDescView, |
||
| void | AppendStreamingSourceInfo
(
const FWorldPartitionStreamingSource& Source, |
||
| bool | |||
| bool | CanUnload () |
||
| void | Deactivate () |
||
| void | DumpStateLog
(
FHierarchicalLogArchive& Ar |
||
| void | Fixup () |
||
| int32 | |||
| TArray< FName > | GetActors () |
||
| bool | |||
| bool | |||
| FGuid const & | |||
| EWorldPartitionRuntimeCellState | |||
| UDataLayerManager * | |||
| FLinearColor | GetDebugColor
(
EWorldPartitionRuntimeCellVisualizeMode VisualizeMode |
||
| FLinearColor | |||
| const FGuid & | GetGuid () |
||
| bool | GetIsHLOD () |
||
| ULevel * | GetLevel () |
||
| FString | |||
| const FGuid & | |||
| EStreamingStatus | |||
| T * | |||
| bool | HasAnyDataLayerInEffectiveRuntimeState
(
EDataLayerRuntimeState InState |
||
| bool | |||
| bool | |||
| bool | |||
| bool | IsDebugShown () |
||
| void | Load () |
||
| void | |||
| bool | |||
| bool | PopulateGeneratedPackageForCook
(
UPackage* InPackage, |
||
| bool | PopulateGeneratorPackageForCook
(
TArray< UPackage* >& OutModifiedPackages |
||
| bool | PrepareCellForCook
(
UPackage* InPackage |
Cook methods. | |
| void | |||
| void | SetBlockOnSlowLoading
(
bool bInBlockOnSlowLoading |
||
| void | SetClientOnlyVisible
(
bool bInClientOnlyVisible |
||
| void | SetContentBundleUID
(
const FGuid& InContentBundleID |
||
| void | SetDataLayers
(
const TArray< const UDataLayerInstance* >& InDataLayerInstances |
||
| void | SetDebugStreamingPriority
(
float InDebugStreamingPriority |
||
| void | |||
| void | SetIsAlwaysLoaded
(
bool bInIsAlwaysLoaded |
||
| void | SetIsHLOD
(
bool bInIsHLOD |
||
| void | SetLevelPackageName
(
const FName& InLevelPackageName |
||
| void | SetPriority
(
int32 InPriority |
||
| void | SetSourceCellGuid
(
const FGuid& InSourceCellGuid |
||
| void | SetStreamingPriority
(
int32 InStreamingPriority |
||
| bool | |||
| int32 | SortCompare
(
const UWorldPartitionRuntimeCell* Other, |
||
| void | Unload () |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. |
Overridden from IWorldPartitionCell
| Type | Name | Description | |
|---|---|---|---|
| bool | ContainsDataLayer
(
const UDataLayerAsset* DataLayerAsset |
Returns whether the cell data layers referenced the provided data layer asset or not. | |
| bool | ContainsDataLayer
(
const UDataLayerInstance* DataLayerInstance |
Returns whether the cell data layers referenced the provided data layer instance or not. | |
| TSet< FName > | Returns the referenced actor packages. | ||
| FBox | Returns the cell bounds. | ||
| const FBox & | Returns the cell bounds computed using cell content. | ||
| TArray< const UDataLayerInstance * > | Returns the cell content associated data layer instances. | ||
| const TArray< FName > & | Returns the cell content associated data layers. | ||
| FString | GetDebugName () |
Returns the debug name associated with this cell. | |
| FName | Returns the associated level package name. | ||
| UWorld * | REturns the outer world of this cell. | ||
| UWorld * | Returns the owning world of this cell. | ||
| bool | HasAnyDataLayer
(
const TSet< FName >& InDataLayers |
Returns whether the cell data layers referenced any of the provided data layer or not. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsLoading () |
IsLoading is deprecated. |