UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RenderingSpatialHash Namespace Reference

Classes

struct  TLocation
 

Typedefs

using FLocation64 = TLocation< int64 >
 
using FLocation32 = TLocation< int32 >
 
using FLocation8 = TLocation< int8 >
 

Functions

template<typename ScalarType >
FArchiveoperator<< (FArchive &Ar, TLocation< ScalarType > &Item)
 
int32 CalcLevel (double Size)
 
int32 CalcLevel (float Size)
 
int32 CalcLevelFromRadius (double Radius)
 
double GetCellSize (int32 Level)
 
double GetRecCellSize (int32 Level)
 
FLocation64 ToCellLoc (int32 Level, const FVector &WorldPos)
 
FLocation64 CalcLevelAndLocation (const FBoxSphereBounds &BoxSphereBounds)
 
FLocation64 CalcLevelAndLocation (const FVector4d &Sphere)
 
FLocation64 CalcLevelAndLocationClamped (const FVector3d &Center, double Radius, int32 FirstLevel)
 
FVector3d CalcWorldPosition (const FLocation64 &Loc)
 
FLocation64 ToLevel (const FLocation64 &Loc, int32 Level)
 

Typedef Documentation

◆ FLocation32

◆ FLocation64

◆ FLocation8

Function Documentation

◆ CalcLevel() [1/2]

int32 RenderingSpatialHash::CalcLevel ( double  Size)
inline

◆ CalcLevel() [2/2]

int32 RenderingSpatialHash::CalcLevel ( float  Size)
inline

◆ CalcLevelAndLocation() [1/2]

FLocation64 RenderingSpatialHash::CalcLevelAndLocation ( const FBoxSphereBounds BoxSphereBounds)
inline

◆ CalcLevelAndLocation() [2/2]

FLocation64 RenderingSpatialHash::CalcLevelAndLocation ( const FVector4d Sphere)
inline

◆ CalcLevelAndLocationClamped()

FLocation64 RenderingSpatialHash::CalcLevelAndLocationClamped ( const FVector3d Center,
double  Radius,
int32  FirstLevel 
)
inline

◆ CalcLevelFromRadius()

int32 RenderingSpatialHash::CalcLevelFromRadius ( double  Radius)
inline

◆ CalcWorldPosition()

FVector3d RenderingSpatialHash::CalcWorldPosition ( const FLocation64 Loc)
inline

◆ GetCellSize()

double RenderingSpatialHash::GetCellSize ( int32  Level)
inline

◆ GetRecCellSize()

double RenderingSpatialHash::GetRecCellSize ( int32  Level)
inline

◆ operator<<()

template<typename ScalarType >
FArchive & RenderingSpatialHash::operator<< ( FArchive Ar,
TLocation< ScalarType > &  Item 
)
inline

◆ ToCellLoc()

FLocation64 RenderingSpatialHash::ToCellLoc ( int32  Level,
const FVector WorldPos 
)
inline

◆ ToLevel()

FLocation64 RenderingSpatialHash::ToLevel ( const FLocation64 Loc,
int32  Level 
)
inline