Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TOctree_DEPRECATED
Iterates over the elements in the octree that intersect a bounding box.
| Name | TConstElementBoxIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/GenericOctree.h |
| Include Path | #include "Math/GenericOctree.h" |
Syntax
template<typename StackAllocator>
class TConstElementBoxIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TConstElementBoxIterator
(
const TOctree_DEPRECATED& Tree, |
Initialization constructor. | Math/GenericOctree.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ElementIt | ElementConstIt | The element iterator for the current node. | Math/GenericOctree.h | |
| IteratorBounds | FBoxCenterAndExtent | The bounding box to check for intersection with. | Math/GenericOctree.h | |
| NodeIt | TConstIterator< StackAllocator > | The octree node iterator. | Math/GenericOctree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Advance() |
Iterates to the next element. | Math/GenericOctree.h | |
const ElementType & GetCurrentElement() |
Accessors. | Math/GenericOctree.h | |
bool HasPendingElements() |
Checks if there are any elements left to iterate over. | Math/GenericOctree.h |