Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TOctree_DEPRECATED
An octree node iterator.
| Name | TConstIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/GenericOctree.h |
| Include Path | #include "Math/GenericOctree.h" |
Syntax
template<typename StackAllocator>
class TConstIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TConstIterator
(
const TOctree_DEPRECATED& Tree |
Starts iterating at the root of an octree. | Math/GenericOctree.h | |
TConstIterator
(
const FNode& Node, |
Starts iterating at a particular node of an octree. | Math/GenericOctree.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentNode | FNodeReference | The node that is currently being visited. | Math/GenericOctree.h | |
| NodeStack | TArray< FNodeReference, StackAllocator > | The nodes which are pending iteration. | Math/GenericOctree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Advance() |
Iterates to the next node. | Math/GenericOctree.h | |
const FOctreeNodeContext & GetCurrentContext() |
Math/GenericOctree.h | ||
const FNode & GetCurrentNode() |
Accessors. | Math/GenericOctree.h | |
bool HasPendingNodes() |
Checks if there are any nodes left to iterate over. | Math/GenericOctree.h | |
void PushChild
(
FOctreeChildNodeRef ChildRef |
Pushes a child of the current node onto the stack of nodes to visit. | Math/GenericOctree.h | |
void PushChild
(
FOctreeChildNodeRef ChildRef, |
Pushes a child of the current node onto the stack of nodes to visit. | Math/GenericOctree.h | |
void PushChild
(
FOctreeChildNodeRef ChildRef, |
Pushes a child of the current node onto the stack of nodes to visit. | Math/GenericOctree.h |