Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionRuntimeSpatialHash.h |
| Include | #include "WorldPartition/WorldPartitionRuntimeSpatialHash.h" |
Syntax
struct FSpatialHashStreamingGrid
Remarks
Represents a PIE/Game streaming grid
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBlockOnSlowStreaming | ||
| bool | bClientOnlyVisible | ||
| int32 | CellSize | ||
| FLinearColor | DebugColor | ||
| TArray< FSpatialHashStreamingGridLevel > | GridLevels | ||
| FName | GridName | ||
| TObjectPtr< const UHLODLayer > | HLODLayer | ||
| float | LoadingRange | ||
| FVector | Origin | ||
| float | OverrideLoadingRange | ||
| FBox | WorldBounds |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSpatialHashStreamingGrid
(
const FSpatialHashStreamingGrid& Other |
Move constructor. | ||
FSpatialHashStreamingGrid
(
FSpatialHashStreamingGrid&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Draw2D
(
const UWorldPartitionRuntimeSpatialHash* Owner, |
||
| void | Draw3D
(
const UWorldPartitionRuntimeSpatialHash* Owner, |
||
| void | ForEachRuntimeCell
(
TFunctionRef< bool(const UWorldPartitionRuntimeCell*)> Func |
||
| void | GetCells
(
const TArray< FWorldPartitionStreamingSource >& Sources, |
||
| void | GetCells
(
const FWorldPartitionStreamingQuerySource& QuerySource, |
||
| int64 | GetCellSize
(
int32 Level |
Used by PIE/Game. | |
| const FSquare2DGridHelper & | |||
| float | |||
| void | GetNonSpatiallyLoadedCells
(
TSet< const UWorldPartitionRuntimeCell* >& OutActivateCells, |
||
| void | InjectExternalStreamingObjectGrid
(
const FSpatialHashStreamingGrid& InExternalObjectStreamingGrid |
||
| bool | InsertGridCell
(
UWorldPartitionRuntimeCell* InGridCell, |
||
| void | RemoveExternalStreamingObjectGrid
(
const FSpatialHashStreamingGrid& InExternalObjectStreamingGrid |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FSpatialHashStreamingGrid & | operator=
(
const FSpatialHashStreamingGrid& Other |
Move assignment. | |
| FSpatialHashStreamingGrid & | operator=
(
FSpatialHashStreamingGrid&& Other |