![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericOctree.h>
Public Types | |
| enum | { LoosenessDenominator = 16 } |
| using | FReal = FVector4::FReal |
Public Member Functions | |
| FOctreeNodeContext () | |
| FOctreeNodeContext (uint32 InInCullBits, uint32 InOutCullBits) | |
| FOctreeNodeContext (const FBoxCenterAndExtent &InBounds) | |
| FOctreeNodeContext (const FBoxCenterAndExtent &InBounds, uint32 InInCullBits, uint32 InOutCullBits) | |
| VectorRegister | GetChildOffsetVec (int i) const |
| FOctreeNodeContext | GetChildContext (FOctreeChildNodeRef ChildRef) const |
| void | GetChildContext (FOctreeChildNodeRef ChildRef, FOctreeNodeContext *ChildContext) const |
| FOctreeNodeContext | GetChildContext (FOctreeChildNodeRef ChildRef, uint32 InInCullBits, uint32 InOutCullBits) const |
| FOctreeChildNodeSubset | GetIntersectingChildren (const FBoxCenterAndExtent &BoundingBox) const |
| FOctreeChildNodeRef | GetContainingChild (const FBoxCenterAndExtent &BoundingBox) const |
Public Attributes | |
| FBoxCenterAndExtent | Bounds |
| FReal | ChildExtent |
| FReal | ChildCenterOffset |
| uint32 | InCullBits |
| uint32 | OutCullBits |
The context of an octree node, derived from the traversal of the tree.
|
inline |
Default constructor.
Initialization constructor, this one is used when we done care about the box anymore
|
inline |
Initialization constructor.
|
inline |
Initialization constructor.
|
inline |
Child node initialization constructor.
|
inline |
Construct a child context given the child ref. Optimized to remove all LHS.
|
inline |
Child node initialization constructor.
|
inline |
|
inline |
Determines which of the octree node's children contain the whole bounding box, if any.
| BoundingBox | - The bounding box to check for intersection with. |
|
inline |
Determines which of the octree node's children intersect with a bounding box.
| BoundingBox | - The bounding box to check for intersection with. |
| FBoxCenterAndExtent FOctreeNodeContext::Bounds |
The bounds of the node.
| FReal FOctreeNodeContext::ChildCenterOffset |
The offset of the childrens' centers from the center of this node.
| FReal FOctreeNodeContext::ChildExtent |
The extent of the node's children.
| uint32 FOctreeNodeContext::InCullBits |
Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root). This does not consume storage because it is leftover in the padding.
| uint32 FOctreeNodeContext::OutCullBits |
Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root). This does not consume storage because it is leftover in the padding.