Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition
Inheritance Hierarchy
- FWorldPartitionStreamingSource
- FWorldPartitionReplayStreamingSource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionStreamingSource.h |
| Include | #include "WorldPartition/WorldPartitionStreamingSource.h" |
Syntax
struct FWorldPartitionStreamingSource
Remarks
Structure containing all properties required to stream from a source
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBlockOnSlowLoading | Whether this source will be considered when world partition detects slow loading and waits for cell streaming to complete. | |
| bool | bForce2D | If true, this streaming source will force intersecting cells in 2D | |
| bool | bRemote | If true, this streaming source is from a remote session | |
| bool | bReplay | If true, this streaming source is from a replay recording | |
| bool | bUseVelocityContributionToCellsSorting | Use velocity contribution to streaming cells priority streaming. | |
| FColor | DebugColor | Color used for debugging. | |
| FVector | Location | Source location. | |
| FName | Name | Source unique name. | |
| EStreamingSourcePriority | Priority | Streaming source priority. | |
| FRotator | Rotation | Source orientation (can impact streaming cell prioritization). | |
| TArray< FStreamingSourceShape > | Shapes | Source internal shapes. | |
| EStreamingSourceTargetBehavior | TargetBehavior | Defines how TargetGrids/TargetHLODLayers will be applied to this streaming source. | |
| TSet< FName > | TargetGrids | When set, this will change how this streaming source is applied to the provided runtime streaming grids based on the TargetBehavior. | |
| TSet< FSoftObjectPath > | TargetHLODLayers | When set, this will change how this streaming source is applied to the provided HLODLayers based on the TargetBehavior. | |
| EStreamingSourceTargetState | TargetState | Target streaming state. | |
| FVector | Velocity | Source velocity (computed automatically). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | FWorldPartitionStreamingSource
(
const FWorldPartitionStreamingSource& Other |
||
FWorldPartitionStreamingSource
(
FName InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBox | CalcBounds
(
float InGridLoadingRange, |
Returns a box encapsulating all shapes. | |
| void | ForEachShape
(
float InGridLoadingRange, |
Helper method that iterates over all shapes. | |
| void | ForEachShape
(
float InGridLoadingRange, |
Helper method that iterates over all shapes affecting a specific grid. | |
| PRAGMA_ENABLE_DEPRECATION_WARNINGSFColor | |||
| uint32 | GetHash
(
bool bInclude3DInformation |
||
| int32 | |||
| int32 | |||
| FString | ToString () |
||
| void | UpdateHash () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FWorldPartitionStreamingSource & | operator=
(
const FWorldPartitionStreamingSource& Other |
||
| FWorldPartitionStreamingSource & | operator=
(
FWorldPartitionStreamingSource&& Other |