UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWorldPartitionStreamingQuerySource Struct Reference

#include <WorldPartitionStreamingSource.h>

Public Member Functions

 FWorldPartitionStreamingQuerySource ()
 
 FWorldPartitionStreamingQuerySource (const FVector &InLocation)
 
PRAGMA_DISABLE_DEPRECATION_WARNINGS FWorldPartitionStreamingQuerySource (const FWorldPartitionStreamingQuerySource &Other)=default
 
FWorldPartitionStreamingQuerySourceoperator= (const FWorldPartitionStreamingQuerySource &Other)=default
 
 FWorldPartitionStreamingQuerySource (FWorldPartitionStreamingQuerySource &&Other)=default
 
FWorldPartitionStreamingQuerySourceoperator= (FWorldPartitionStreamingQuerySource &&Other)=default
 
void ForEachShape (float InGridLoadingRange, bool bInProjectIn2D, TFunctionRef< void(const FSphericalSector &)> InOperation) const
 
void ForEachShape (float InGridLoadingRange, FName InGridName, bool bInProjectIn2D, TFunctionRef< void(const FSphericalSector &)> InOperation) const
 

Public Attributes

PRAGMA_ENABLE_DEPRECATION_WARNINGS FVector Location
 
float Radius
 
bool bUseGridLoadingRange
 
TArray< FNameDataLayers
 
bool bDataLayersOnly
 
bool bSpatialQuery
 
FRotator Rotation
 
EStreamingSourceTargetBehavior TargetBehavior
 
TSet< FNameTargetGrids
 
TSet< FSoftObjectPathTargetHLODLayers
 
TArray< FStreamingSourceShapeShapes
 

Detailed Description

Structure containing all properties required to query a streaming state

Constructor & Destructor Documentation

◆ FWorldPartitionStreamingQuerySource() [1/4]

FWorldPartitionStreamingQuerySource::FWorldPartitionStreamingQuerySource ( )
inline

◆ FWorldPartitionStreamingQuerySource() [2/4]

FWorldPartitionStreamingQuerySource::FWorldPartitionStreamingQuerySource ( const FVector InLocation)
inline

◆ FWorldPartitionStreamingQuerySource() [3/4]

PRAGMA_DISABLE_DEPRECATION_WARNINGS FWorldPartitionStreamingQuerySource::FWorldPartitionStreamingQuerySource ( const FWorldPartitionStreamingQuerySource Other)
default

◆ FWorldPartitionStreamingQuerySource() [4/4]

FWorldPartitionStreamingQuerySource::FWorldPartitionStreamingQuerySource ( FWorldPartitionStreamingQuerySource &&  Other)
default

Member Function Documentation

◆ ForEachShape() [1/2]

void FWorldPartitionStreamingQuerySource::ForEachShape ( float  InGridLoadingRange,
bool  bInProjectIn2D,
TFunctionRef< void(const FSphericalSector &)>  InOperation 
) const
inline

Helper method that iterates over all shapes. If none is provided, it will still pass a sphere shape using Radius or grid's loading range (see bUseGridLoadingRange).

◆ ForEachShape() [2/2]

void FWorldPartitionStreamingQuerySource::ForEachShape ( float  InGridLoadingRange,
FName  InGridName,
bool  bInProjectIn2D,
TFunctionRef< void(const FSphericalSector &)>  InOperation 
) const
inline

Helper method that iterates over all shapes. If none is provided, it will still pass a sphere shape using Radius or grid's loading range (see bUseGridLoadingRange).

◆ operator=() [1/2]

FWorldPartitionStreamingQuerySource & FWorldPartitionStreamingQuerySource::operator= ( const FWorldPartitionStreamingQuerySource Other)
default

◆ operator=() [2/2]

FWorldPartitionStreamingQuerySource & FWorldPartitionStreamingQuerySource::operator= ( FWorldPartitionStreamingQuerySource &&  Other)
default

Member Data Documentation

◆ bDataLayersOnly

bool FWorldPartitionStreamingQuerySource::bDataLayersOnly

◆ bSpatialQuery

bool FWorldPartitionStreamingQuerySource::bSpatialQuery

◆ bUseGridLoadingRange

bool FWorldPartitionStreamingQuerySource::bUseGridLoadingRange

◆ DataLayers

TArray<FName> FWorldPartitionStreamingQuerySource::DataLayers

◆ Location

PRAGMA_ENABLE_DEPRECATION_WARNINGS FVector FWorldPartitionStreamingQuerySource::Location

◆ Radius

float FWorldPartitionStreamingQuerySource::Radius

◆ Rotation

FRotator FWorldPartitionStreamingQuerySource::Rotation

◆ Shapes

TArray<FStreamingSourceShape> FWorldPartitionStreamingQuerySource::Shapes

◆ TargetBehavior

EStreamingSourceTargetBehavior FWorldPartitionStreamingQuerySource::TargetBehavior

Defines how TargetGrids will be applied to this streaming source.

◆ TargetGrids

TSet<FName> FWorldPartitionStreamingQuerySource::TargetGrids

◆ TargetHLODLayers

TSet<FSoftObjectPath> FWorldPartitionStreamingQuerySource::TargetHLODLayers

The documentation for this struct was generated from the following file: