UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BoundingVolumeHierarchy.cpp File Reference

Classes

struct  Chaos::TSpecializeParticlesHelper< OBJECT_ARRAY >
 
struct  Chaos::TSpecializeParticlesHelper< TParticles< T, d > >
 
struct  Chaos::FSplitCount< d >
 

Namespaces

namespace  Chaos
 

Functions

template<typename T , int d>
void Chaos::DrawNodeRecursive (ISpacialDebugDrawInterface< T > *InInterface, const TBVHNode< T, d > &InNode, const TArray< TBVHNode< T, d > > &InAllNodes)
 
template<class OBJECT_ARRAY , class T , int d, typename TPayloadType >
TArray< int32Chaos::MakeNewLeaf (const OBJECT_ARRAY &Objects, const TArray< int32 > &AllObjects, const TArray< int32 > *)
 
template<class OBJECT_ARRAY , class T , int d, typename TPayloadType >
TBoundingVolume< TPayloadType, T, d > Chaos::MakeNewLeaf (const OBJECT_ARRAY &Objects, const TArray< int32 > &AllObjects, const TBoundingVolume< TPayloadType, T, d > *)
 
template<class OBJECT_ARRAY , typename TPayloadType , class T , int d>
TArray< int32Chaos::FindAllIntersectionsLeafHelper (const TArray< int32 > &Leaf, const TVector< T, d > &Point)
 
template<class OBJECT_ARRAY , typename TPayloadType , class T , int d>
TArray< int32Chaos::FindAllIntersectionsLeafHelper (const TBoundingVolume< TPayloadType, T, d > &Leaf, const TVector< T, d > &Point)
 
template<typename T , int d>
bool Chaos::IntersectsHelper (const TAABB< T, d > &WorldSpaceBox, const TAABB< T, d > &LocalBox)
 
template<typename T , int d>
bool Chaos::IntersectsHelper (const TAABB< T, d > &WorldSpaceBox, const TSpatialRay< T, d > &Ray)
 
template<class OBJECT_ARRAY , typename TPayloadType , typename T , int d, typename QUERY_OBJECT >
TArray< int32Chaos::FindAllIntersectionsLeafHelper (const TArray< int32 > &Leaf, const QUERY_OBJECT &QueryObject)
 
template<class OBJECT_ARRAY , typename TPayloadType , class T , int d, typename QUERY_OBJECT >
TArray< int32Chaos::FindAllIntersectionsLeafHelper (const TBoundingVolume< TPayloadType, T, d > &Leaf, const QUERY_OBJECT &QueryObject)
 
template<typename T , int d>
void Chaos::AccumulateNextLevelCount (const TAABB< T, d > &Box, const TVector< T, d > &MidPoint, FSplitCount< d > &Counts)
 
template<typename OBJECT_ARRAY , typename TPayloadType , typename T , int d>
void Chaos::FixupLeafObj (const OBJECT_ARRAY &Objects, TArray< TBoundingVolume< TPayloadType, T, d > > &Leafs)
 
template<typename OBJECT_ARRAY >
void Chaos::FixupLeafObj (const OBJECT_ARRAY &Objects, TArray< TArray< int32 > > &Leafs)
 

Variables

FRealSingle Chaos::Chaos_Bounds_MaxInflationScale = 2.f
 
FAutoConsoleVariableRef Chaos::CVarBoundsMaxInflatiuonScale (TEXT("p.Chaos.MaxInflationScale"), Chaos_Bounds_MaxInflationScale, TEXT("A limit on the bounds used to detect collisions when CCD is disabled. The bounds limit is this scale multiplied by the object's max dimension"))
 
int32 Chaos::CheckBox = 1
 
FAutoConsoleVariableRef Chaos::CVarCheckBox (TEXT("p.checkbox"), CheckBox, TEXT(""))
 
int32 Chaos::FindAllIntersectionsSingleThreaded = 1
 
FAutoConsoleVariableRef Chaos::CVarFindAllIntersectionsSingleThreaded (TEXT("p.FindAllIntersectionsSingleThreaded"), FindAllIntersectionsSingleThreaded, TEXT(""))
 
int32 Chaos::UseAccumulationArray = 1
 
FAutoConsoleVariableRef Chaos::CVarUseAccumulationArray (TEXT("p.UseAccumulationArray"), UseAccumulationArray, TEXT(""))