/Engine/Source/Runtime/Core/Public/Math/GenericOctree.h
This function will traverse the Octree starting from the root in depth first order and the predicate can be used to implement custom culling for each node.
template<typename PredicateFunc, typename IterateFunc> void FindNodesWithPredicate ( const PredicateFunc & Predicate, const IterateFunc & Func ) const