Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TOctree2
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/GenericOctree.h |
| Include | #include "Math/GenericOctree.h" |
template<typename IterateBoundsFunc>
void FindElementsWithBoundsTest
(
const FBoxCenterAndExtent & BoxBounds,
const IterateBoundsFunc & Func
) const
Remarks
This function will traverse the Octree using a fast box-box intersection this should be the preferred way of traversing the tree.
Parameters
| Name | Description |
|---|---|
| BoxBounds | the bounds to test if a node is traversed or skipped. |
| Func | Function to call with each Element for nodes that passed bounds test. |