UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TParticleArray< TParticleType > Class Template Reference

#include <PBDRigidsSOAs.h>

Public Member Functions

 TParticleArray ()
 
void Reset ()
 
bool Contains (const TParticleType *Particle) const
 
void Insert (TParticleType *Particle)
 
void Remove (TParticleType *Particle)
 
const TArray< TParticleType * > & GetArray () const
 
TArray< TParticleType * > & GetArray ()
 
void SetContainerListMask (const EGeometryParticleListMask InMask)
 
EGeometryParticleListMask GetContainerListMask () const
 

Detailed Description

template<typename TParticleType>
class Chaos::TParticleArray< TParticleType >

A list of particles held in a array. O(N) find/remove so only for use on small lists.

See also
TParticleArrayMap

Constructor & Destructor Documentation

◆ TParticleArray()

template<typename TParticleType >
Chaos::TParticleArray< TParticleType >::TParticleArray ( )
inline

Member Function Documentation

◆ Contains()

template<typename TParticleType >
bool Chaos::TParticleArray< TParticleType >::Contains ( const TParticleType Particle) const
inline

◆ GetArray() [1/2]

◆ GetArray() [2/2]

template<typename TParticleType >
const TArray< TParticleType * > & Chaos::TParticleArray< TParticleType >::GetArray ( ) const
inline

◆ GetContainerListMask()

template<typename TParticleType >
EGeometryParticleListMask Chaos::TParticleArray< TParticleType >::GetContainerListMask ( ) const
inline

◆ Insert()

template<typename TParticleType >
void Chaos::TParticleArray< TParticleType >::Insert ( TParticleType Particle)
inline

◆ Remove()

template<typename TParticleType >
void Chaos::TParticleArray< TParticleType >::Remove ( TParticleType Particle)
inline

◆ Reset()

◆ SetContainerListMask()

template<typename TParticleType >
void Chaos::TParticleArray< TParticleType >::SetContainerListMask ( const EGeometryParticleListMask  InMask)
inline

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