Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSparseDynamicOctree3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ParallelRangeQuery
(
const FAxisAlignedBox3d& Bounds, |
Collect ObjectIDs from all the cells with bounding boxes that intersect Bounds. | Spatial/SparseDynamicOctree3.h | |
void ParallelRangeQuery
(
const FAxisAlignedBox3d& RangeBoundsHint, |
Collect ObjectIDs from all the leaf cells that have bounding boxes that pass BoundsOverlapFn | Spatial/SparseDynamicOctree3.h |
ParallelRangeQuery(const FAxisAlignedBox3d &, TArray< int > &)
Description
Collect ObjectIDs from all the cells with bounding boxes that intersect Bounds. Current implementation creates a separate TArray for each thread.
| Name | ParallelRangeQuery |
| 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 |
void ParallelRangeQuery
(
const FAxisAlignedBox3d & Bounds,
TArray < int > & ObjectIDsOut
) const
Parameters
| Name | Remarks |
|---|---|
| Bounds | query box |
| ObjectIDsOut | collected ObjectIDs are stored here |
ParallelRangeQuery(const FAxisAlignedBox3d &, TFunctionRef< bool(const FAxisAlignedBox3d &CellBounds)>, TArray< int32 > &)
Description
Collect ObjectIDs from all the leaf cells that have bounding boxes that pass BoundsOverlapFn
| Name | ParallelRangeQuery |
| 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 |
void ParallelRangeQuery
(
const FAxisAlignedBox3d & RangeBoundsHint,
TFunctionRef < bool> BoundsOverlapFn,
TArray < int32 > & ObjectIDs
) const
Parameters
| Name | Remarks |
|---|---|
| RangeBoundsHint | A box to potentially limit the iteration range across cells. Note that this might be ignored if the allocation of cells is such that trying to check for cells in that range would take more time than just iterating over all allocated cells. |
| BoundsOverlapFn | Must be thread-safe. Used to determine if the cell is part of the desired range. |
| ObjectIDsOut | collected ObjectIDs are stored here |