Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos > TSpatialHash > GetClosestPoints
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SpatialHash.h |
Include | #include "Chaos/SpatialHash.h" |
TArray< int32 > GetClosestPoints
&40;
const TVec3< T > & Particle,
const T MaxRadius,
const int32 MaxPoints
&41;
Remarks
Returns all the points in MaxRadius, no more than MaxCount, result always sorted.