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

Information used by the constraint allocator This includes any information used for optimizations like array indexes etc as well as data for managing lifetime and pruning. More...

#include <PBDCollisionConstraint.h>

Public Member Functions

 FPBDCollisionConstraintContainerCookie ()
 
void ClearContainerData ()
 Used to clear the container data when copying constraints out of the container (see resim cache) The constraint index will not be valid when the constraint is copied out of the container, but everything else is ok and should be restorable.
 

Public Attributes

FParticlePairMidPhaseMidPhase
 
int32 CreationEpoch
 
int32 LastUsedEpoch
 
int32 ConstraintIndex: 31
 
uint32 bIsMultiShapePair: 1
 
int32 CCDConstraintIndex
 

Detailed Description

Information used by the constraint allocator This includes any information used for optimizations like array indexes etc as well as data for managing lifetime and pruning.

Constructor & Destructor Documentation

◆ FPBDCollisionConstraintContainerCookie()

Chaos::FPBDCollisionConstraintContainerCookie::FPBDCollisionConstraintContainerCookie ( )
inline

Member Function Documentation

◆ ClearContainerData()

void Chaos::FPBDCollisionConstraintContainerCookie::ClearContainerData ( )
inline

Used to clear the container data when copying constraints out of the container (see resim cache) The constraint index will not be valid when the constraint is copied out of the container, but everything else is ok and should be restorable.

Member Data Documentation

◆ bIsMultiShapePair

uint32 Chaos::FPBDCollisionConstraintContainerCookie::bIsMultiShapePair

◆ CCDConstraintIndex

int32 Chaos::FPBDCollisionConstraintContainerCookie::CCDConstraintIndex

◆ ConstraintIndex

int32 Chaos::FPBDCollisionConstraintContainerCookie::ConstraintIndex

◆ CreationEpoch

int32 Chaos::FPBDCollisionConstraintContainerCookie::CreationEpoch

◆ LastUsedEpoch

int32 Chaos::FPBDCollisionConstraintContainerCookie::LastUsedEpoch

◆ MidPhase

FParticlePairMidPhase* Chaos::FPBDCollisionConstraintContainerCookie::MidPhase

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