TConstIterator

An octree node iterator.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/GenericOctree.h

Include

#include "Math/GenericOctree.h"

Syntax

template<typename StackAllocator>
class TConstIterator

Remarks

An octree node iterator.

Constructors

Name Description

Public function

TConstIterator

(
    const TOctree& Tree
)

Starts iterating at the root of an octree.

Public function

TConstIterator

(
    const FNode& Node,
    const FOctreeNodeContext& Context
)

Starts iterating at a particular node of an octree.

Functions

Name Description

Public function

void

 

Advance()

Iterates to the next node.

Public function Const

const FOctre...

 

GetCurrentContext()

Public function Const

const FNode ...

 

GetCurrentNode()

Accessors.

Public function Const

bool

 

HasPendingNodes()

Checks if there are any nodes left to iterate over.

Public function

void

 

PushChild

(
    FOctreeChildNodeRef ChildRef
)

Pushes a child of the current node onto the stack of nodes to visit.

Public function

void

 

PushChild

(
    FOctreeChildNodeRef ChildRef,
    const FOctreeNodeContext& Context
)

Pushes a child of the current node onto the stack of nodes to visit.

Public function

void

 

PushChild

(
    FOctreeChildNodeRef ChildRef,
    uint32 FullyInsideView,
    uint32 FullyOutsideView
)

Pushes a child of the current node onto the stack of nodes to visit.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss