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

#include <CollisionKeys.h>

Public Member Functions

 FCollisionSortKeyHashed ()
 
 FCollisionSortKeyHashed (const FGeometryParticleHandle *InParticle0, const int32 InShapeID0, const FGeometryParticleHandle *InParticle1, const int32 InShapeID1)
 

Friends

bool operator== (const FCollisionSortKeyHashed &L, const FCollisionSortKeyHashed &R)
 
bool operator!= (const FCollisionSortKeyHashed &L, const FCollisionSortKeyHashed &R)
 
bool operator< (const FCollisionSortKeyHashed &L, const FCollisionSortKeyHashed &R)
 

Detailed Description

A key used to sort collisions. This to ensure consistent collision solver order when collisions are generated in a semi-random order (during multi-threaded collision detection). NOTE: This version does not result in collisions being sorted by Particle, but it is smaller than FCollisionSortKeyNonHashed

Constructor & Destructor Documentation

◆ FCollisionSortKeyHashed() [1/2]

Chaos::Private::FCollisionSortKeyHashed::FCollisionSortKeyHashed ( )
inline

◆ FCollisionSortKeyHashed() [2/2]

Chaos::Private::FCollisionSortKeyHashed::FCollisionSortKeyHashed ( const FGeometryParticleHandle InParticle0,
const int32  InShapeID0,
const FGeometryParticleHandle InParticle1,
const int32  InShapeID1 
)
inline

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const FCollisionSortKeyHashed L,
const FCollisionSortKeyHashed R 
)
friend

◆ operator<

bool operator< ( const FCollisionSortKeyHashed L,
const FCollisionSortKeyHashed R 
)
friend

◆ operator==

bool operator== ( const FCollisionSortKeyHashed L,
const FCollisionSortKeyHashed R 
)
friend

Member Data Documentation

◆ Key

uint64 Chaos::Private::FCollisionSortKeyHashed::Key

◆ ParticlesKey

uint32 Chaos::Private::FCollisionSortKeyHashed::ParticlesKey

◆ ShapesKey

uint32 Chaos::Private::FCollisionSortKeyHashed::ShapesKey

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