Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/FSparseDynamicOctree3 > API/Runtime/GeometryCore/Spatial/FSparseDynamicOctree3/ParallelOverlapAnyQuery
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicOctree3.h |
| Include | #include "Spatial/SparseDynamicOctree3.h" |
int ParallelOverlapAnyQuery
(
const FAxisAlignedBox3d & ShapeBounds,
TFunctionRef < bool)> ObjectOverlapFn
) const
Remarks
Find any overlap between a caller-defined query and any object ID. Returns the first overlap it finds. index of overlapping ObjectID or INDEX_NONE if no overlaps are found
Parameters
| Name | Description |
|---|---|
| ShapeBounds | Overall bounds of the custom query shape |
| ObjectOverlapFn | Custom function that indicates if the given ObjectID overlaps the query shape |