TSpatialHash::GetClosestPoints

Returns all the points in MaxRadius, no more than MaxCount, result always sorted.

Choose your operating system:

Windows

macOS

Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SpatialHash.h

Include

#include "Chaos/SpatialHash.h"

Syntax

TArray< int32 > GetClosestPoints
(
    const TVec3< T > & Particle,
    const T MaxRadius,
    const int32 MaxPoints
)

Remarks

Returns all the points in MaxRadius, no more than MaxCount, result always sorted.