FOctreeNodeContext

The context of an octree node, derived from the traversal of the tree.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/GenericOctree.h"

Syntax

class FOctreeNodeContext

Remarks

The context of an octree node, derived from the traversal of the tree.

Variables

Name Description

Public variable

FBoxCenterAndEx...

 

Bounds

The bounds of the node.

Public variable

float

 

ChildCenterOffset

The offset of the childrens' centers from the center of this node.

Public variable

float

 

ChildExtent

The extent of the node's children.

Public variable

uint32

 

InCullBits

Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root).

Public variable

uint32

 

OutCullBits

Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root).

Constructors

Name Description

Public function

FOctreeNodeContext()

Default constructor.

Public function

FOctreeNodeContext

(
    const FBoxCenterAndExtent& InBound...
)

Initialization constructor.

Public function

FOctreeNodeContext

(
    uint32 InInCullBits,
    uint32 InOutCullBits
)

Initialization constructor, this one is used when we done care about the box anymore

Public function

FOctreeNodeContext

(
    const FBoxCenterAndExtent& InBound...,
    uint32 InInCullBits,
    uint32 InOutCullBits
)

Initialization constructor.

Functions

Name Description

Public function Const

FOctreeNodeC...

 

GetChildContext

(
    FOctreeChildNodeRef ChildRef
)

Child node initialization constructor.

Public function Const

void

 

GetChildContext

(
    FOctreeChildNodeRef ChildRef,
    FOctreeNodeContext*__restrict ...
)

Construct a child context given the child ref. Optimized to remove all LHS.

Public function Const

FOctreeNodeC...

 

GetChildContext

(
    FOctreeChildNodeRef ChildRef,
    uint32 InInCullBits,
    uint32 InOutCullBits
)

Child node initialization constructor.

Public function Const

FOctreeChild...

 

GetContainingChild

(
    const FBoxCenterAndExtent& Boundin...
)

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

Public function Const

FOctreeChild...

 

GetIntersectingChildren

(
    const FBoxCenterAndExtent& Boundin...
)

Determines which of the octree node's children intersect with a bounding box.

Constants

Name

Description

LoosenessDenominator

The node bounds are expanded by their extent divided by LoosenessDenominator.

NegativeOneOneTable

The float table {-1.0f,1.0f}

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