Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SpatialHash.h |
Include | #include "Chaos/SpatialHash.h" |
Syntax
template<class T>
class TSpatialHash
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TSpatialHash
(
const TArray< TVec3< T >>& Particles |
||
![]() |
TSpatialHash
(
const TArray< TVec3< T >>& Particles, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | GetClosestPoint
(
const TVec3< T >& Particle |
Returns all the points in MaxRadius, result not sorted. |
![]() |
TArray< int32 > | GetClosestPoints
(
const TVec3< T >& Particle, |
Returns all the points in MaxRadius, result not sorted. |
![]() |
TArray< int32 > | GetClosestPoints
(
const TVec3< T >& Particle, |
Returns all the points in MaxRadius, no more than MaxCount, result always sorted. |
![]() |
void | ||
![]() |
void | Update
(
const T Radius |
|
![]() |
void |