/Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicOctree3.h
Find nearest ray-hit point with objects in tree
ObjectID of hit object, or -1 on miss
int32 FindNearestHitObject ( const FRay3d & Ray, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< [FAxisAlignedBox3d](API\Runtime\GeometryCore\FAxisAlignedBox3d)(int)> GetObjectBoundsFunc, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< double(int, const FRay3d &)> HitObjectDistFunc, double MaxDistance ) const