UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TSpatialHashGridPoints< PayloadType, T > Class Template Reference

#include <HierarchicalSpatialHash.h>

+ Inheritance diagram for Chaos::TSpatialHashGridPoints< PayloadType, T >:

Public Member Functions

 TSpatialHashGridPoints (const T InCellSize)
 
void Reset ()
 
template<typename ParticlesType >
void InitializePoints (const ParticlesType &Particles, bool bForceSingleThreaded=false)
 
TArray< TVec2< PayloadType > > FindAllSelfProximities (int32 CellRadius, int32 MaxNumExpectedConnections, TFunctionRef< bool(const int32 Payload0, const int32 Payload1)> NarrowTest, bool bForceSingleThreaded=false) const
 

Constructor & Destructor Documentation

◆ TSpatialHashGridPoints()

template<typename PayloadType , typename T >
Chaos::TSpatialHashGridPoints< PayloadType, T >::TSpatialHashGridPoints ( const T  InCellSize)
inline

Member Function Documentation

◆ FindAllSelfProximities()

template<typename PayloadType , typename T >
TArray< TVec2< PayloadType > > Chaos::TSpatialHashGridPoints< PayloadType, T >::FindAllSelfProximities ( int32  CellRadius,
int32  MaxNumExpectedConnections,
TFunctionRef< bool(const int32 Payload0, const int32 Payload1)>  NarrowTest,
bool  bForceSingleThreaded = false 
) const
inline

◆ InitializePoints()

template<typename PayloadType , typename T >
template<typename ParticlesType >
void Chaos::TSpatialHashGridPoints< PayloadType, T >::InitializePoints ( const ParticlesType &  Particles,
bool  bForceSingleThreaded = false 
)
inline

◆ Reset()

template<typename PayloadType , typename T >
void Chaos::TSpatialHashGridPoints< PayloadType, T >::Reset ( )
inline

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