TOctree2::FindFirstElementWithBoundsTest

This function will traverse the Octree using a fast box-box intersection and aborts traversal as soon as the Element function returns false.

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 FindFirstElementWithBoundsTest
(
    const FBoxCenterAndExtent & BoxBounds,
    const IterateBoundsFunc & Func
) const

Remarks

This function will traverse the Octree using a fast box-box intersection and aborts traversal as soon as the Element function returns false.

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