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

#include <CollisionKeys.h>

Public Member Functions

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

Friends

bool operator== (const FCollisionSortKeyNonHashed &L, const FCollisionSortKeyNonHashed &R)
 
bool operator!= (const FCollisionSortKeyNonHashed &L, const FCollisionSortKeyNonHashed &R)
 
bool operator< (const FCollisionSortKeyNonHashed &L, const FCollisionSortKeyNonHashed &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 also results in collisions being sorted by Particle (as opposed to FCollisionSortKeyHashed) but it is larger and the comparison operator is more complex, so sorting cost is higher

Constructor & Destructor Documentation

◆ FCollisionSortKeyNonHashed() [1/2]

Chaos::Private::FCollisionSortKeyNonHashed::FCollisionSortKeyNonHashed ( )
inline

◆ FCollisionSortKeyNonHashed() [2/2]

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

Friends And Related Symbol Documentation

◆ operator!=

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

◆ operator<

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

◆ operator==

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

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