UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter > Class Template Reference

#include <StaticSpatialIndex.h>

+ Inheritance diagram for TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >:

Public Member Functions

 TStaticSpatialIndex ()
 
void Init (const TArray< TPair< FBox, ValueType > > &InElements)
 
void Init (TArray< TPair< FBox, ValueType > > &&InElements)
 
template<class Func >
void ForEachElement (Func InFunc) const
 
template<class Func >
void ForEachIntersectingElement (const FBox &InBox, Func InFunc) const
 
template<class Func >
void ForEachIntersectingElement (const FStaticSpatialIndex::FSphere &InSphere, Func InFunc) const
 
template<class Func >
void ForEachIntersectingElement (const FStaticSpatialIndex::FCone &InCone, Func InFunc) const
 
void AddReferencedObjects (FReferenceCollector &Collector)
 
virtual int32 GetNumBox () const override
 
virtual const FBox & GetBox (uint32 InIndex) const override
 
virtual const FBox * GetBoxes (uint32 InIndex, uint32 &OutStride) const override
 
virtual uint32 GetAllocatedSize () const override
 
- Public Member Functions inherited from TStaticSpatialIndexDataInterface< Profile >
virtual ~TStaticSpatialIndexDataInterface ()
 

Constructor & Destructor Documentation

◆ TStaticSpatialIndex()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::TStaticSpatialIndex ( )
inline

Member Function Documentation

◆ AddReferencedObjects()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::AddReferencedObjects ( FReferenceCollector Collector)
inline

◆ ForEachElement()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
template<class Func >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::ForEachElement ( Func  InFunc) const
inline

◆ ForEachIntersectingElement() [1/3]

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
template<class Func >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::ForEachIntersectingElement ( const FBox &  InBox,
Func  InFunc 
) const
inline

◆ ForEachIntersectingElement() [2/3]

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
template<class Func >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::ForEachIntersectingElement ( const FStaticSpatialIndex::FCone InCone,
Func  InFunc 
) const
inline

◆ ForEachIntersectingElement() [3/3]

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
template<class Func >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::ForEachIntersectingElement ( const FStaticSpatialIndex::FSphere InSphere,
Func  InFunc 
) const
inline

◆ GetAllocatedSize()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
virtual uint32 TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::GetAllocatedSize ( ) const
inlineoverridevirtual

◆ GetBox()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
virtual const FBox & TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::GetBox ( uint32  InIndex) const
inlineoverridevirtual

◆ GetBoxes()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
virtual const FBox * TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::GetBoxes ( uint32  InIndex,
uint32 OutStride 
) const
inlineoverridevirtual

◆ GetNumBox()

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
virtual int32 TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::GetNumBox ( ) const
inlineoverridevirtual

◆ Init() [1/2]

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::Init ( const TArray< TPair< FBox, ValueType > > &  InElements)
inline

◆ Init() [2/2]

template<typename ValueType , typename Profile , class SpatialIndexType , class ElementsSorter >
void TStaticSpatialIndex< ValueType, Profile, SpatialIndexType, ElementsSorter >::Init ( TArray< TPair< FBox, ValueType > > &&  InElements)
inline

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