Navigation
API > API/Runtime > API/Runtime/Core
The context of an octree node, derived from the traversal of the tree.
| Name | FOctreeNodeContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/GenericOctree.h |
| Include Path | #include "Math/GenericOctree.h" |
Syntax
class FOctreeNodeContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Math/GenericOctree.h | ||
FOctreeNodeContext
(
const FBoxCenterAndExtent& InBounds |
Initialization constructor. | Math/GenericOctree.h | |
FOctreeNodeContext
(
uint32 InInCullBits, |
Initialization constructor, this one is used when we done care about the box anymore | Math/GenericOctree.h | |
FOctreeNodeContext
(
const FBoxCenterAndExtent& InBounds, |
Initialization constructor. | Math/GenericOctree.h |
Enums
Public
| Name | Remarks |
|---|---|
| FOctreeNodeContext | The node bounds are expanded by their extent divided by LoosenessDenominator. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FReal | FVector4::FReal | Math/GenericOctree.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bounds | FBoxCenterAndExtent | The bounds of the node. | Math/GenericOctree.h | |
| ChildCenterOffset | FReal | The offset of the childrens' centers from the center of this node. | Math/GenericOctree.h | |
| ChildExtent | FReal | The extent of the node's children. | Math/GenericOctree.h | |
| InCullBits | uint32 | Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root). | Math/GenericOctree.h | |
| OutCullBits | uint32 | Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root). | Math/GenericOctree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOctreeNodeContext GetChildContext
(
FOctreeChildNodeRef ChildRef |
Child node initialization constructor. | Math/GenericOctree.h | |
void GetChildContext
(
FOctreeChildNodeRef ChildRef, |
Construct a child context given the child ref. Optimized to remove all LHS. | Math/GenericOctree.h | |
FOctreeNodeContext GetChildContext
(
FOctreeChildNodeRef ChildRef, |
Child node initialization constructor. | Math/GenericOctree.h | |
VectorRegister GetChildOffsetVec
(
int i |
Math/GenericOctree.h | ||
FOctreeChildNodeRef GetContainingChild
(
const FBoxCenterAndExtent& BoundingBox |
Determines which of the octree node's children contain the whole bounding box, if any. | Math/GenericOctree.h | |
FOctreeChildNodeSubset GetIntersectingChildren
(
const FBoxCenterAndExtent& BoundingBox |
Determines which of the octree node's children intersect with a bounding box. | Math/GenericOctree.h |