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
UCLASS (Abstract, MinimalAPI)
class UWorldPartitionRuntimeCell :
public UObject ,
public IWorldPartitionCell ,
public IWorldPartitionCookPackageObject
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. | |
| EDataLayerRuntimeState | EffectiveWantedState | ||
| int32 | EffectiveWantedStateEpoch | ||
| TObjectPtr< const UExternalDataLayerAsset > | ExternalDataLayerAsset | ||
| 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 () |
||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void | AddActorToCell
(
const FWorldPartitionActorDescView& ActorDescView, |
||
| void | AddActorToCell
(
const FStreamingGenerationActorDescView& ActorDescView |
||
| void | AppendStreamingSourceInfo
(
const FWorldPartitionStreamingSource& Source, |
||
| void | AppendStreamingSourceInfo
(
const FWorldPartitionStreamingSource& Source, |
||
| bool | |||
| bool | CanUnload () |
||
| void | Deactivate () |
||
| void | DumpStateLog
(
FHierarchicalLogArchive& Ar |
||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS void | Fixup () |
||
| int32 | |||
| TArray< FName > | GetActors () |
||
| bool | |||
| const FLinearColor & | |||
| EDataLayerRuntimeState | |||
| EDataLayerRuntimeState | GetCellEffectiveWantedState
(
int32 InDataLayersStateEpoch |
||
| EDataLayerRuntimeState | GetCellEffectiveWantedState
(
const FWorldPartitionStreamingContext& Context |
||
| EDataLayerRuntimeState | |||
| bool | |||
| FGuid const & | |||
| EWorldPartitionRuntimeCellState | |||
| UDataLayerManager * | |||
| const TArray< FName > & | |||
| FLinearColor | GetDebugColor
(
EWorldPartitionRuntimeCellVisualizeMode VisualizeMode |
||
| const FGuid & | GetGuid () |
||
| bool | GetIsHLOD () |
||
| ULevel * | GetLevel () |
||
| const FGuid & | |||
| FBox | Returns the cell's streaming bounds, which is what the underlying runtime hash uses to intersect cells. | ||
| EStreamingStatus | |||
| T * | |||
| bool | |||
| bool | |||
| bool | |||
| bool | IsDebugShown () |
||
| bool | IsLoading () |
||
| void | Load () |
||
| void | |||
| bool | |||
| bool | PopulateGeneratedPackageForCook
(
UPackage* InPackage, |
||
| bool | PopulateGeneratorPackageForCook
(
TArray< UPackage* >& OutModifiedPackages |
||
| bool | PrepareCellForCook
(
UPackage* InPackage |
Cook methods | |
| bool | PrepareCellForCook
(
const IWorldPartitionCookPackageContext& InCookContext, |
||
| void | SetBlockOnSlowLoading
(
bool bInBlockOnSlowLoading |
||
| void | SetCellDebugColor
(
const FLinearColor& InCellDebugColor |
||
| 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 | SetSourceCellGuid
(
const FGuid& InSourceCellGuid |
||
| void | SetStreamingPriority
(
int32 InStreamingPriority |
||
| bool | Instead of this function, server would not not wait for client level visibility for server-only visible cells. | ||
| 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 UDataLayerInstance* DataLayerInstance |
Returns whether the cell data layers referenced the provided data layer instance or not. | |
| bool | ContainsDataLayer
(
const UDataLayerAsset* DataLayerAsset |
Returns whether the cell data layers referenced the provided data layer asset or not. | |
| TSet< FName > | Returns the referenced actor packages. | ||
| FBox | Returns the cell's bounds, which is the uniform size of the cell. | ||
| const FBox & | Returns the cell'content s bounds, which is the sum of all actor bounds inside the cell. | ||
| 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 cell content associated external data layer. | ||
| const UExternalDataLayerInstance * | Returns the cell associated external data layer instance. | ||
| 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. | |
| bool | Returns whether the cell content is associated with content bundle or not. |
Overridden from IWorldPartitionCookPackageObject
| Type | Name | Description | |
|---|---|---|---|
| const UExternalDataLayerAsset * | |||
| FString | |||
| bool | |||
| bool | OnPopulateGeneratedPackageForCook
(
const IWorldPartitionCookPackageContext& InCookContext, |
||
| bool | OnPopulateGeneratorPackageForCook
(
const IWorldPartitionCookPackageContext& InCookContext, |
||
| bool | OnPrepareGeneratorPackageForCook
(
TArray< UPackage* >& OutModifiedPackages |