FOctreeNodeContext::GetContainingChild

Determines which of the octree node's children contain the whole bounding box, if any.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/GenericOctree.h"

Source

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

Syntax

FOctreeChildNodeRef GetContainingChild
(
    const FBoxCenterAndExtent & BoundingBox
) const

Remarks

Determines which of the octree node's children contain the whole bounding box, if any.

Returns

The octree's node that the bounding box is farthest from the outside edge of, or an invalid node ref if it's not contained by any of the children.

Parameters

Parameter

Description

BoundingBox

The bounding box to check for intersection with.

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