TConstIterator

An octree node iterator.

Windows
MacOS
Linux

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.

References

Module

Engine

Header

Runtime/Engine/Public/GenericOctree.h

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback