Navigation
API > API/Runtime > API/Runtime/Chaos
Currently this assumes a 3 dimensional grid.
| Name | THierarchicalSpatialHash |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/HierarchicalSpatialHash.h |
| Include Path | #include "Chaos/HierarchicalSpatialHash.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TriangleMesh.h |
Syntax
template<typename TPayloadType, typename T>
class THierarchicalSpatialHash : public Chaos::TSpatialHashGridBase< PayloadType >
Inheritance Hierarchy
- TSpatialHashGridBase → THierarchicalSpatialHash
Classes
| Name | Remarks |
|---|---|
| FVectorAABB |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Base | TSpatialHashGridBase< PayloadType > | Chaos/HierarchicalSpatialHash.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bounds | TArray< FVectorAABB > | Chaos/HierarchicalSpatialHash.h | ||
| UsedLods | TMap< int32, T > | Chaos/HierarchicalSpatialHash.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< PayloadType > FindAllIntersections
(
const TAABB< T, 3 >& LookupBounds |
Chaos/HierarchicalSpatialHash.h | ||
TArray< PayloadType > FindAllIntersections
(
const TVec3< T >& Point |
Chaos/HierarchicalSpatialHash.h | ||
TArray< PayloadType > FindAllIntersections
(
const FVectorAABB LookupBounds, |
Chaos/HierarchicalSpatialHash.h | ||
void Initialize
(
const ParticlesType& Particles, |
Chaos/HierarchicalSpatialHash.h | ||
void Reset() |
Chaos/HierarchicalSpatialHash.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T CellSizeForLod
(
const int32 Lod |
Chaos/HierarchicalSpatialHash.h | ||
static int32 LodForCellSize
(
T CellSize |
Chaos/HierarchicalSpatialHash.h |