TOctree2::FindElementsWithBoundsTest

This function will traverse the Octree using a fast box-box interssection this should be the preferred way of traversing the tree.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/GenericOctree.h"

Syntax

template<typename IterateBoundsFunc>
void FindElementsWithBoundsTest
(
    const FBoxCenterAndExtent & BoxBounds,
    const IterateBoundsFunc & Func
) const

Remarks

This function will traverse the Octree using a fast box-box interssection this should be the preferred way of traversing the tree.

Parameters

Parameter

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.

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