TOctree2::FindNearbyElements

This function will traverse the Octree using a tryint to find nearby nodes that contain any elements.

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 FindNearbyElements
(
    const FVector & Position,
    const IterateBoundsFunc & Func
) const

Remarks

This function will traverse the Octree using a tryint to find nearby nodes that contain any elements.

Parameters

Parameter

Description

Position

the position to look nearby.

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