Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UWorldPartitionRuntimeHash
- UWorldPartitionRuntimeSpatialHash
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionRuntimeSpatialHash.h |
| Include | #include "WorldPartition/WorldPartitionRuntimeSpatialHash.h" |
Syntax
UCLASS (MinimalAPI)
class UWorldPartitionRuntimeSpatialHash : public UWorldPartitionRuntimeHash
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsNameToGridMappingDirty | ||
| TMap< FName, const FSpatialHashStreamingGrid * > | NameToGridMapping | ||
| FSpatialHashSettings | Settings | ||
| TArray< FSpatialHashStreamingGrid > | StreamingGrids | Represents the streaming grids (PIE or Game) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWorldPartitionRuntimeSpatialHash
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyCVars () |
||
| void | ForEachStreamingGrid
(
TFunctionRef< void(FSpatialHashStreamingGrid&)> Func |
||
| void | ForEachStreamingGrid
(
TFunctionRef< void(const FSpatialHashStreamingGrid&)> Func |
||
| void | ForEachStreamingGridBreakable
(
TFunctionRef< bool(const FSpatialHashStreamingGrid&)> Func |
||
| FString | GetCellCoordString
(
const FGridCellCoord& InCellGlobalCoord |
||
| FGuid | GetCellGuid
(
FName InGridName, |
||
| FString | GetCellNameString
(
UWorld* InOuterWorld, |
||
| uint32 | GetNumGrids () |
||
| int32 | |||
| bool | |||
| const FSpatialHashStreamingGrid * | GetStreamingGridByName
(
FName InGridName |
||
| void | SetPreviewGridLevel
(
int32 InPreviewGridLevel |
||
| void | SetPreviewGrids
(
bool bInPreviewGrids |
Overridden from UWorldPartitionRuntimeHash
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void | PreSave
(
const ITargetPlatform* TargetPlatform |
||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
Presave function. | |
| void | Handles reading, writing, and reference collecting using FArchive. |