UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d > Struct Template Reference

#include <SpatialAccelerationCollection.h>

Static Public Member Functions

template<typename SQVisitor >
static bool RaycastFast (const Tuple &Types, const TVector< T, d > &Start, FQueryFastData &CurData, SQVisitor &Visitor, const FVec3 &Dir, const FVec3 InvDir, const bool bParallel[3])
 
template<typename SQVisitor >
static bool SweepFast (const Tuple &Types, const TVector< T, d > &Start, FQueryFastData &CurData, const TVector< T, d > QueryHalfExtents, SQVisitor &Visitor, const FVec3 &Dir, const FVec3 InvDir, const bool bParallel[3])
 
template<typename SQVisitor >
static bool OverlapFast (const Tuple &Types, const TAABB< T, d > QueryBounds, SQVisitor &Visitor)
 
static void GlobalObjects (const Tuple &Types, TArray< TPayloadBoundsElement< TPayloadType, T > > &ObjList)
 
static void SetNumFrom (const Tuple &TypesSrc, Tuple &TypesDest)
 
static void Reset (const Tuple &Types)
 
static void CacheOverlappingLeaves (const Tuple &Types)
 
static uint16 FindTypeIdx (const Tuple &Types, SpatialAccelerationType Type)
 

Member Function Documentation

◆ CacheOverlappingLeaves()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
static void Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::CacheOverlappingLeaves ( const Tuple &  Types)
inlinestatic

Compute the overlapping leaves for each leaf

◆ FindTypeIdx()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
static uint16 Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::FindTypeIdx ( const Tuple &  Types,
SpatialAccelerationType  Type 
)
inlinestatic

◆ GlobalObjects()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
static void Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::GlobalObjects ( const Tuple &  Types,
TArray< TPayloadBoundsElement< TPayloadType, T > > &  ObjList 
)
inlinestatic

◆ OverlapFast()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
template<typename SQVisitor >
static bool Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::OverlapFast ( const Tuple &  Types,
const TAABB< T, d >  QueryBounds,
SQVisitor Visitor 
)
inlinestatic

◆ RaycastFast()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
template<typename SQVisitor >
static bool Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::RaycastFast ( const Tuple &  Types,
const TVector< T, d > &  Start,
FQueryFastData CurData,
SQVisitor Visitor,
const FVec3 Dir,
const FVec3  InvDir,
const bool  bParallel[3] 
)
inlinestatic

◆ Reset()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
static void Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::Reset ( const Tuple &  Types)
inlinestatic

◆ SetNumFrom()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
static void Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::SetNumFrom ( const Tuple &  TypesSrc,
Tuple &  TypesDest 
)
inlinestatic

◆ SweepFast()

template<int TypeIdx, int NumTypes, typename Tuple , typename TPayloadType , typename T , int d>
template<typename SQVisitor >
static bool Chaos::TSpatialAccelerationCollectionHelper< TypeIdx, NumTypes, Tuple, TPayloadType, T, d >::SweepFast ( const Tuple &  Types,
const TVector< T, d > &  Start,
FQueryFastData CurData,
const TVector< T, d >  QueryHalfExtents,
SQVisitor Visitor,
const FVec3 Dir,
const FVec3  InvDir,
const bool  bParallel[3] 
)
inlinestatic

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