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

#include <PBDParticles.h>

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

Public Member Functions

 TPBDParticles ()
 
 TPBDParticles (const TPBDParticles< T, d > &Other)=delete
 
 TPBDParticles (TPBDParticles< T, d > &&Other)
 
 ~TPBDParticles ()
 
const TVector< T, d > & P (const int32 index) const
 
TVector< T, d > & P (const int32 index)
 
const TVector< T, d > & GetP (const int32 index) const
 
void SetP (const int32 index, const TVector< T, d > &InP)
 
TArrayCollectionArray< TVector< T, d > > & GetP ()
 
- Public Member Functions inherited from Chaos::TDynamicParticles< T, d >
 TDynamicParticles ()
 
 TDynamicParticles (const TDynamicParticles< T, d > &Other)=delete
 
 TDynamicParticles (TDynamicParticles< T, d > &&Other)
 
const TVector< T, d > & V (const int32 Index) const
 
const TVector< T, d > GetV (const int32 Index) const
 
TVector< T, d > & V (const int32 Index)
 
void SetV (const int32 Index, const TVector< T, d > &InV)
 
const TArrayCollectionArray< TVector< T, d > > & GetV () const
 
TArrayCollectionArray< TVector< T, d > > & GetV ()
 
const TVector< T, d > & Acceleration (const int32 Index) const
 
TVector< T, d > & Acceleration (const int32 Index)
 
const TArrayCollectionArray< TVector< T, d > > & GetAcceleration () const
 
TArrayCollectionArray< TVector< T, d > > & GetAcceleration ()
 
const T M (const int32 Index) const
 
T & M (const int32 Index)
 
const TArrayCollectionArray< T > & GetM () const
 
TArrayCollectionArray< T > & GetM ()
 
const T InvM (const int32 Index) const
 
T & InvM (const int32 Index)
 
const TArrayCollectionArray< T > & GetInvM () const
 
TArrayCollectionArray< T > & GetInvM ()
 
- Public Member Functions inherited from Chaos::TParticles< T, d >
 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
 

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

◆ TPBDParticles() [1/3]

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

◆ TPBDParticles() [2/3]

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

◆ TPBDParticles() [3/3]

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

◆ ~TPBDParticles()

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

Member Function Documentation

◆ GetP() [1/2]

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

◆ GetP() [2/2]

template<class T , int d>
const TVector< T, d > & Chaos::TPBDParticles< T, d >::GetP ( const int32  index) const
inline

◆ P() [1/2]

template<class T , int d>
TVector< T, d > & Chaos::TPBDParticles< T, d >::P ( const int32  index)
inline

◆ P() [2/2]

template<class T , int d>
const TVector< T, d > & Chaos::TPBDParticles< T, d >::P ( const int32  index) const
inline

◆ SetP()

template<class T , int d>
void Chaos::TPBDParticles< T, d >::SetP ( const int32  index,
const TVector< T, d > &  InP 
)
inline

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