UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::FSpatialAccelerationCacheHandle Struct Reference

#include <PBDRigidsEvolution.h>

Public Types

using THandleBase = FSpatialAccelerationCacheHandle
 
using TTransientHandle = FSpatialAccelerationCacheHandle
 

Public Member Functions

 FSpatialAccelerationCacheHandle (FSpatialAccelerationCache *InCache=nullptr, int32 InEntryIdx=INDEX_NONE)
 
template<typename TPayloadType >
TPayloadType GetPayload (int32 Idx) const
 
bool HasBoundingBox () const
 
const FAABB3BoundingBox () const
 
bool LightWeightDisabled () const
 

Public Attributes

union { 
 
   FSpatialAccelerationCache *   GeometryParticles 
 
   FSpatialAccelerationCache *   Cache 
 
};  
 
union { 
 
   int32   ParticleIdx 
 
   int32   EntryIdx 
 
};  
 

Detailed Description

The handle the acceleration structure uses to access the data (similar to particle handle)

Member Typedef Documentation

◆ THandleBase

◆ TTransientHandle

Constructor & Destructor Documentation

◆ FSpatialAccelerationCacheHandle()

Chaos::FSpatialAccelerationCacheHandle::FSpatialAccelerationCacheHandle ( FSpatialAccelerationCache InCache = nullptr,
int32  InEntryIdx = INDEX_NONE 
)
inline

Member Function Documentation

◆ BoundingBox()

const FAABB3 & Chaos::FSpatialAccelerationCacheHandle::BoundingBox ( ) const
inline

◆ GetPayload()

template<typename TPayloadType >
TPayloadType Chaos::FSpatialAccelerationCacheHandle::GetPayload ( int32  Idx) const
inline

◆ HasBoundingBox()

bool Chaos::FSpatialAccelerationCacheHandle::HasBoundingBox ( ) const
inline

◆ LightWeightDisabled()

bool Chaos::FSpatialAccelerationCacheHandle::LightWeightDisabled ( ) const
inline

Member Data Documentation

◆ [union]

◆ [union]

◆ Cache

FSpatialAccelerationCache* Chaos::FSpatialAccelerationCacheHandle::Cache

◆ EntryIdx

int32 Chaos::FSpatialAccelerationCacheHandle::EntryIdx

◆ GeometryParticles

FSpatialAccelerationCache* Chaos::FSpatialAccelerationCacheHandle::GeometryParticles

◆ ParticleIdx

int32 Chaos::FSpatialAccelerationCacheHandle::ParticleIdx

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