UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TParticles< T, d > Class Template Reference

#include <Particles.h>

+ Inheritance diagram for Chaos::TParticles< T, d >:

Public Member Functions

 TParticles ()
 
 TParticles (const TParticles< T, d > &Other)=delete
 
 TParticles (TParticles< T, d > &&Other)
 
 TParticles (TArray< TVector< T, d > > &&Positions)
 
virtual ~TParticles ()
 
void AddParticles (const int32 Num)
 
void DestroyParticle (const int32 Idx)
 
ERemoveParticleBehavior RemoveParticleBehavior () const
 
ERemoveParticleBehaviorRemoveParticleBehavior ()
 
void MoveToOtherParticles (const int32 Idx, TParticles< T, d > &Other)
 
void Resize (const int32 Num)
 
TParticlesoperator= (TParticles< T, d > &&Other)
 
const TArrayCollectionArray< TVector< T, d > > & X () const
 
void Serialize (FArchive &Ar)
 
const TArrayCollectionArray< TVector< T, d > > & XArray () const
 
TArrayCollectionArray< TVector< T, d > > & XArray ()
 
const TVector< T, d > & X (const int32 Index) const
 
TVector< T, d > & X (const int32 Index)
 
const TVector< T, d > & GetX (const int32 Index) const
 
void SetX (const int32 Index, const TVector< T, d > &InX)
 
FString ToString (int32 index) const
 
uint32 GetTypeHash () const
 
SIZE_T GetAllocatedSize () const
 
int32 DirtyValidationCount () const
 
FORCEINLINE TArray< TVector< T, d > > & AllX ()
 
FORCEINLINE const TArray< TVector< T, d > > & AllX () const
 
- Public Member Functions inherited from Chaos::TArrayCollection
 TArrayCollection ()
 
 TArrayCollection (const TArrayCollection &Other)=delete
 
 TArrayCollection (TArrayCollection &&Other)=delete
 
virtual ~TArrayCollection ()
 
void ShrinkArrays (const float MaxSlackFraction, const int32 MinSlack)
 
int32 AddArray (TArrayCollectionArrayBase *Array)
 
void RemoveArray (TArrayCollectionArrayBase *Array)
 
void RemoveAt (int32 Index, int32 Count)
 
uint32 Size () const
 
uint64 ComputeColumnSize () const
 

Friends

FArchiveoperator<< (FArchive &Ar, TParticles< T, d > &InParticles)
 

Additional Inherited Members

- Protected Member Functions inherited from Chaos::TArrayCollection
void AddElementsHelper (const int32 Num)
 
void ResizeHelper (const int32 Num)
 
void RemoveAtHelper (const int32 Index, const int32 Count)
 
void RemoveAtSwapHelper (const int32 Index)
 
void MoveToOtherArrayCollection (const int32 Index, TArrayCollection &Other)
 
- Protected Attributes inherited from Chaos::TArrayCollection
uint32 MSize
 

Constructor & Destructor Documentation

◆ TParticles() [1/4]

template<class T , int d>
Chaos::TParticles< T, d >::TParticles ( )
inline

◆ TParticles() [2/4]

template<class T , int d>
Chaos::TParticles< T, d >::TParticles ( const TParticles< T, d > &  Other)
delete

◆ TParticles() [3/4]

template<class T , int d>
Chaos::TParticles< T, d >::TParticles ( TParticles< T, d > &&  Other)
inline

◆ TParticles() [4/4]

template<class T , int d>
Chaos::TParticles< T, d >::TParticles ( TArray< TVector< T, d > > &&  Positions)
inline

◆ ~TParticles()

template<class T , int d>
virtual Chaos::TParticles< T, d >::~TParticles ( )
inlinevirtual

Member Function Documentation

◆ AddParticles()

template<class T , int d>
void Chaos::TParticles< T, d >::AddParticles ( const int32  Num)
inline

◆ AllX() [1/2]

template<class T , int d>
FORCEINLINE TArray< TVector< T, d > > & Chaos::TParticles< T, d >::AllX ( )
inline

◆ AllX() [2/2]

template<class T , int d>
FORCEINLINE const TArray< TVector< T, d > > & Chaos::TParticles< T, d >::AllX ( ) const
inline

◆ DestroyParticle()

template<class T , int d>
void Chaos::TParticles< T, d >::DestroyParticle ( const int32  Idx)
inline

◆ DirtyValidationCount()

template<class T , int d>
int32 Chaos::TParticles< T, d >::DirtyValidationCount ( ) const
inline

◆ GetAllocatedSize()

template<class T , int d>
SIZE_T Chaos::TParticles< T, d >::GetAllocatedSize ( ) const
inline

◆ GetTypeHash()

template<class T , int d>
uint32 Chaos::TParticles< T, d >::GetTypeHash ( ) const
inline

◆ GetX()

template<class T , int d>
const TVector< T, d > & Chaos::TParticles< T, d >::GetX ( const int32  Index) const
inline

◆ MoveToOtherParticles()

template<class T , int d>
void Chaos::TParticles< T, d >::MoveToOtherParticles ( const int32  Idx,
TParticles< T, d > &  Other 
)
inline

◆ operator=()

template<class T , int d>
TParticles & Chaos::TParticles< T, d >::operator= ( TParticles< T, d > &&  Other)
inline

◆ RemoveParticleBehavior() [1/2]

template<class T , int d>
ERemoveParticleBehavior & Chaos::TParticles< T, d >::RemoveParticleBehavior ( )
inline

◆ RemoveParticleBehavior() [2/2]

template<class T , int d>
ERemoveParticleBehavior Chaos::TParticles< T, d >::RemoveParticleBehavior ( ) const
inline

◆ Resize()

template<class T , int d>
void Chaos::TParticles< T, d >::Resize ( const int32  Num)
inline

◆ Serialize()

template<class T , int d>
void Chaos::TParticles< T, d >::Serialize ( FArchive Ar)
inline

◆ SetX()

template<class T , int d>
void Chaos::TParticles< T, d >::SetX ( const int32  Index,
const TVector< T, d > &  InX 
)
inline

◆ ToString()

template<class T , int d>
FString Chaos::TParticles< T, d >::ToString ( int32  index) const
inline

◆ X() [1/3]

template<class T , int d>
const TArrayCollectionArray< TVector< T, d > > & Chaos::TParticles< T, d >::X ( ) const
inline

◆ X() [2/3]

template<class T , int d>
TVector< T, d > & Chaos::TParticles< T, d >::X ( const int32  Index)
inline

◆ X() [3/3]

template<class T , int d>
const TVector< T, d > & Chaos::TParticles< T, d >::X ( const int32  Index) const
inline

◆ XArray() [1/2]

template<class T , int d>
TArrayCollectionArray< TVector< T, d > > & Chaos::TParticles< T, d >::XArray ( )
inline

◆ XArray() [2/2]

template<class T , int d>
const TArrayCollectionArray< TVector< T, d > > & Chaos::TParticles< T, d >::XArray ( ) const
inline

Friends And Related Symbol Documentation

◆ operator<<

template<class T , int d>
FArchive & operator<< ( FArchive Ar,
TParticles< T, d > &  InParticles 
)
friend

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