Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionStreamingSource.h |
| Include | #include "WorldPartition/WorldPartitionStreamingSource.h" |
Syntax
USTRUCT (BlueprintType )
struct FWorldPartitionStreamingQuerySource
Remarks
Structure containing all properties required to query a streaming state
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDataLayersOnly | If True, Only cells that are in a data layer found in DataLayers property will be returned by the query. | |
| bool | bSpatialQuery | If False, Location/Radius will not be used to find the cells. | |
| bool | bUseGridLoadingRange | If True, Instead of providing a query radius, query can be bound to loading range radius. | |
| TArray< FName > | DataLayers | Optional list of data layers to specialize the query. | |
| PRAGMA_ENABLE_DEPRECATION_WARNINGSFVector | Location | Location to query. (not used if bSpatialQuery is false) | |
| float | Radius | Radius to query. (not used if bSpatialQuery is false) | |
| FRotator | Rotation | Reserved settings used by UWorldPartitionStreamingSourceComponent::IsStreamingCompleted. | |
| TArray< FStreamingSourceShape > | Shapes | ||
| EStreamingSourceTargetBehavior | TargetBehavior | Defines how TargetGrids will be applied to this streaming source. | |
| TSet< FName > | TargetGrids | ||
| TSet< FSoftObjectPath > | TargetHLODLayers |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWorldPartitionStreamingQuerySource
(
const FVector& InLocation |
|||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | FWorldPartitionStreamingQuerySource
(
const FWorldPartitionStreamingQuerySource& Other |
||
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ForEachShape
(
float InGridLoadingRange, |
Helper method that iterates over all shapes. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FWorldPartitionStreamingQuerySource & | operator=
(
const FWorldPartitionStreamingQuerySource& Other |
||
| FWorldPartitionStreamingQuerySource & | operator=
(
FWorldPartitionStreamingQuerySource&& Other |