UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FSparseOctreeCell Struct Reference

#include <SparseDynamicOctree3.h>

Public Member Functions

 FSparseOctreeCell ()
 
 FSparseOctreeCell (uint8 LevelIn, const FVector3i &IndexIn)
 
bool IsExistingCell () const
 
bool HasChild (int ChildIndex) const
 
uint32 GetChildCellID (int ChildIndex) const
 
FSparseOctreeCell MakeChildCell (int ChildIndex)
 
void SetChild (uint32 ChildIndex, const FSparseOctreeCell &ChildCell)
 

Public Attributes

uint32 CellID
 
uint8 Level
 
FVector3i Index
 
TStaticArray< uint32, 8 > Children
 

Static Public Attributes

static constexpr uint32 InvalidID = TNumericLimits<uint32>::Max()
 
static constexpr uint8 InvalidLevel = TNumericLimits<uint8>::Max()
 

Detailed Description

FSparseOctreeCell is a Node in a SparseDynamicOctree3.

Constructor & Destructor Documentation

◆ FSparseOctreeCell() [1/2]

UE::Geometry::FSparseOctreeCell::FSparseOctreeCell ( )
inline

◆ FSparseOctreeCell() [2/2]

UE::Geometry::FSparseOctreeCell::FSparseOctreeCell ( uint8  LevelIn,
const FVector3i IndexIn 
)
inline

Member Function Documentation

◆ GetChildCellID()

uint32 UE::Geometry::FSparseOctreeCell::GetChildCellID ( int  ChildIndex) const
inline

◆ HasChild()

bool UE::Geometry::FSparseOctreeCell::HasChild ( int  ChildIndex) const
inline

◆ IsExistingCell()

bool UE::Geometry::FSparseOctreeCell::IsExistingCell ( ) const
inline

◆ MakeChildCell()

FSparseOctreeCell UE::Geometry::FSparseOctreeCell::MakeChildCell ( int  ChildIndex)
inline

◆ SetChild()

void UE::Geometry::FSparseOctreeCell::SetChild ( uint32  ChildIndex,
const FSparseOctreeCell ChildCell 
)
inline

Member Data Documentation

◆ CellID

uint32 UE::Geometry::FSparseOctreeCell::CellID

ID of cell (index into cell list)

◆ Children

TStaticArray<uint32, 8> UE::Geometry::FSparseOctreeCell::Children

CellID of each child, or InvalidID if that child does not exist

◆ Index

FVector3i UE::Geometry::FSparseOctreeCell::Index

i,j,k index of cell in level, relative to origin

◆ InvalidID

constexpr uint32 FSparseOctreeCell::InvalidID = TNumericLimits<uint32>::Max()
staticconstexpr

◆ InvalidLevel

constexpr uint8 FSparseOctreeCell::InvalidLevel = TNumericLimits<uint8>::Max()
staticconstexpr

◆ Level

uint8 UE::Geometry::FSparseOctreeCell::Level

Level of cell in octree


The documentation for this struct was generated from the following files: