UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock Struct Reference

#include <HierarchicalSpatialHashGrid.h>

Public Member Functions

int32 GetCellGridOffset (const FInt8Vector3 &Loc) const
 

Static Public Member Functions

static int32 CalcCellOffset (const FInt8Vector3 &Loc)
 
static uint32 CalcCellMaskOffset (const FInt8Vector3 &MaskLoc)
 
static uint64 CalcCellMask (const FInt8Vector3 &Loc)
 
static uint64 BuildFootPrintMask (const FFootprint8 &FootprintInBlock)
 

Public Attributes

uint64 CoarseCellMask = 0ULL
 
int32 GridOffset = INDEX_NONE
 
int32 NumItemChunks = 0
 

Static Public Attributes

static uint32 constexpr CoarseCellMaskDimLog2 = 2U
 
static uint32 constexpr CoarseCellMaskDim = 1U << CoarseCellMaskDimLog2
 
static uint32 constexpr CoarseCellMaskCoordMask = (1U << CoarseCellMaskDimLog2) - 1u
 

Member Function Documentation

◆ BuildFootPrintMask()

static uint64 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::BuildFootPrintMask ( const FFootprint8 FootprintInBlock)
inlinestatic

◆ CalcCellMask()

static uint64 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CalcCellMask ( const FInt8Vector3 Loc)
inlinestatic

◆ CalcCellMaskOffset()

static uint32 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CalcCellMaskOffset ( const FInt8Vector3 MaskLoc)
inlinestatic

◆ CalcCellOffset()

static int32 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CalcCellOffset ( const FInt8Vector3 Loc)
inlinestatic

◆ GetCellGridOffset()

int32 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::GetCellGridOffset ( const FInt8Vector3 Loc) const
inline

Member Data Documentation

◆ CoarseCellMask

uint64 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CoarseCellMask = 0ULL

◆ CoarseCellMaskCoordMask

uint32 constexpr THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CoarseCellMaskCoordMask = (1U << CoarseCellMaskDimLog2) - 1u
staticconstexpr

◆ CoarseCellMaskDim

uint32 constexpr THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CoarseCellMaskDim = 1U << CoarseCellMaskDimLog2
staticconstexpr

◆ CoarseCellMaskDimLog2

uint32 constexpr THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::CoarseCellMaskDimLog2 = 2U
staticconstexpr

◆ GridOffset

◆ NumItemChunks

int32 THierarchicalSpatialHashGrid< BlockTraitsType >::FCellBlock::NumItemChunks = 0

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