Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSparseDynamicOctree3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int ParallelOverlapAnyQuery
(
const FAxisAlignedBox3d& ShapeBounds, |
Find any overlap between a caller-defined query and any object ID. | Spatial/SparseDynamicOctree3.h | |
int ParallelOverlapAnyQuery
(
const FAxisAlignedBox3d& ShapeBounds, |
Find any overlap between a caller-defined query and any object ID. | Spatial/SparseDynamicOctree3.h |
ParallelOverlapAnyQuery(const FAxisAlignedBox3d &, TFunctionRef< bool(int32)>)
Description
Find any overlap between a caller-defined query and any object ID. Returns the first overlap it finds.
| Name | ParallelOverlapAnyQuery |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicOctree3.h |
| Include Path | #include "Spatial/SparseDynamicOctree3.h" |
int ParallelOverlapAnyQuery
(
const FAxisAlignedBox3d & ShapeBounds,
TFunctionRef < bool> ObjectOverlapFn
) const
index of overlapping ObjectID or INDEX_NONE if no overlaps are found
Parameters
| Name | Remarks |
|---|---|
| ShapeBounds | Overall bounds of the custom query shape |
| ObjectOverlapFn | Custom function that indicates if the given ObjectID overlaps the query shape |
ParallelOverlapAnyQuery(const FAxisAlignedBox3d &, TFunctionRef< bool(int32)>, TFunctionRef< bool(const FAxisAlignedBox3d &)>)
Description
Find any overlap between a caller-defined query and any object ID. Returns the first overlap it finds.
| Name | ParallelOverlapAnyQuery |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicOctree3.h |
| Include Path | #include "Spatial/SparseDynamicOctree3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Spatial/SparseDynamicOctree3.cpp |
int ParallelOverlapAnyQuery
(
const FAxisAlignedBox3d & ShapeBounds,
TFunctionRef < bool> ObjectOverlapFn,
TFunctionRef < bool> BoundsOverlapFn
) const
index of overlapping ObjectID or INDEX_NONE if no overlaps are found
Parameters
| Name | Remarks |
|---|---|
| ShapeBounds | Overall bounds of the custom query shape |
| ObjectOverlapFn | Custom function that indicates if the given ObjectID overlaps the query shape |
| BoundsOverlapFn | Optional custom function that indicates if the given bounding box overlaps the query shape, used to filter the octree search. Note the bounds overlap with ShapeBounds will already be called before calling this; only provide this if a more accurate overlap can be quickly checked. |