Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/SpatialAlgo > API/Plugins/PCG/SpatialAlgo/UPCGOctreeQueries
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include | #include "SpatialAlgo/PCGOctreeQueries.h" |
template<typename Func>
static void ForEachPointInsideSphere
(
const UPCGPointData * InPointData,
const FVector & InCenter,
const double InRadius,
Func Callback
)
Remarks
Query the internal octree to call a func on all points within some sphere. Callback takes the point (as const ref) and its squared distance to the center.