Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TSpatialHashGridPoints |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/HierarchicalSpatialHash.h |
| Include Path | #include "Chaos/HierarchicalSpatialHash.h" |
Syntax
template<typename PayloadType, typename T>
class TSpatialHashGridPoints : public Chaos::TSpatialHashGridBase< PayloadType >
Inheritance Hierarchy
- TSpatialHashGridBase → TSpatialHashGridPoints
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSpatialHashGridPoints
(
const T InCellSize |
Chaos/HierarchicalSpatialHash.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Base | TSpatialHashGridBase< PayloadType > | Chaos/HierarchicalSpatialHash.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CellSize | const TVectorRegisterType< T > | Chaos/HierarchicalSpatialHash.h | ||
| ParticleIndexToElement | TArray< int32 > | Particle Index is dense array index passed in at build time. | Chaos/HierarchicalSpatialHash.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< TVec2< PayloadType > > FindAllSelfProximities
(
int32 CellRadius, |
Chaos/HierarchicalSpatialHash.h | ||
void InitializePoints
(
const ParticlesType& Particles, |
Chaos/HierarchicalSpatialHash.h | ||
void Reset() |
Chaos/HierarchicalSpatialHash.h |