TSpatialHash::GetClosestPoints

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

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/SpatialHash.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/SpatialHash.cpp

Syntax

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

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss