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

#include <KinematicGeometryParticles.h>

+ Inheritance diagram for Chaos::TKinematicGeometryParticlesImp< T, d, SimType >:

Public Types

typedef TKinematicGeometryParticleHandle< T, d > THandleType
 
- Public Types inherited from Chaos::TGeometryParticlesImp< T, d, SimType >
typedef FGeometryParticleHandle THandleType
 

Public Member Functions

 TKinematicGeometryParticlesImp ()
 
 TKinematicGeometryParticlesImp (const TKinematicGeometryParticlesImp< T, d, SimType > &Other)=delete
 
 TKinematicGeometryParticlesImp (TKinematicGeometryParticlesImp< T, d, SimType > &&Other)
 
virtual ~TKinematicGeometryParticlesImp ()
 
const TVector< T, d > V (const int32 Index) const
 
TVector< T, d > V (const int32 Index)
 
const TVector< T, d > GetV (const int32 Index) const
 
void SetV (const int32 Index, const TVector< T, d > &InV)
 
const TVector< FRealSingle, d > GetVf (const int32 Index) const
 
void SetVf (const int32 Index, const TVector< FRealSingle, d > &InV)
 
const TVector< T, d > W (const int32 Index) const
 
TVector< T, d > W (const int32 Index)
 
const TVector< T, d > GetW (const int32 Index) const
 
void SetW (const int32 Index, const TVector< T, d > &InW)
 
const TVector< FRealSingle, d > GetWf (const int32 Index) const
 
void SetWf (const int32 Index, const TVector< FRealSingle, d > &InW)
 
const FKinematicTargetKinematicTarget (const int32 Index) const
 
FKinematicTargetKinematicTarget (const int32 Index)
 
FString ToString (int32 index) const
 
const THandleTypeHandle (int32 Index) const
 
THandleTypeHandle (int32 Index)
 
virtual void Serialize (FChaosArchive &Ar) override
 
FORCEINLINE TArray< TVector< FRealSingle, d > > & AllV ()
 
FORCEINLINE TArray< TVector< FRealSingle, d > > & AllW ()
 
FORCEINLINE TArray< FKinematicTarget > & AllKinematicTargets ()
 
- Public Member Functions inherited from Chaos::TGeometryParticlesImp< T, d, SimType >
 TGeometryParticlesImp ()
 
 TGeometryParticlesImp (const TGeometryParticlesImp< T, d, SimType > &Other)=delete
 
 TGeometryParticlesImp (TGeometryParticlesImp< T, d, SimType > &&Other)
 
 TGeometryParticlesImp (TParticles< T, d > &&Other)
 
virtual ~TGeometryParticlesImp ()
 
FUniqueIdx UniqueIdx (const int32 Index) const
 
FUniqueIdxUniqueIdx (const int32 Index)
 
ESyncStateSyncState (const int32 Index)
 
ESyncState SyncState (const int32 Index) const
 
TSerializablePtr< FImplicitObjectGeometry (const int32 Index) const
 
const TUniquePtr< FImplicitObject > & DynamicGeometry (const int32 Index) const
 
const TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > & SharedGeometry (const int32 Index) const
 
bool HasCollision (const int32 Index) const
 
boolHasCollision (const int32 Index)
 
const FShapesArrayShapesArray (const int32 Index) const
 
void RemoveShapesAtSortedIndices (const int32 ParticleIndex, const TArrayView< const int32 > &InIndices)
 
const FShapeInstanceArrayShapeInstances (const int32 Index) const
 
FParticleID ParticleID (const int32 Idx) const
 
FParticleIDParticleID (const int32 Idx)
 
void SetDynamicGeometry (const int32 Index, TUniquePtr< FImplicitObject > &&InUnique)
 
void SetSharedGeometry (const int32 Index, TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > InShared)
 
const TAABB< T, d > & LocalBounds (const int32 Index) const
 
TAABB< T, d > & LocalBounds (const int32 Index)
 
const TVector< T, d > & CCDAxisThreshold (const int32 Index) const
 
bool HasBounds (const int32 Index) const
 
boolHasBounds (const int32 Index)
 
FSpatialAccelerationIdx SpatialIdx (const int32 Index) const
 
FSpatialAccelerationIdxSpatialIdx (const int32 Index)
 
const FString & GetDebugName (const int32 Index) const
 
const TAABB< T, d > & WorldSpaceInflatedBounds (const int32 Index) const
 
void UpdateWorldSpaceState (const int32 Index, const FRigidTransform3 &WorldTransform, const FVec3 &BoundsExpansion)
 
void UpdateWorldSpaceStateSwept (const int32 Index, const FRigidTransform3 &WorldTransform, const FVec3 &BoundsExpansion, const FVec3 &DeltaX)
 
FORCEINLINE THandleTypeHandle (int32 Index) const
 
CHAOS_API void SetHandle (int32 Index, FGeometryParticleHandle *Handle)
 
FGeometryParticleGTGeometryParticle (const int32 Index) const
 
FGeometryParticle *& GTGeometryParticle (const int32 Index)
 
const IPhysicsProxyBasePhysicsProxy (const int32 Index) const
 
IPhysicsProxyBasePhysicsProxy (const int32 Index)
 
void SetPhysicsProxy (const int32 Index, IPhysicsProxyBase *InPhysicsProxy)
 
FWeakParticleHandleWeakParticleHandle (const int32 Index)
 
FConstraintHandleArrayParticleConstraints (const int32 Index)
 All of the persistent (non-collision) constraints affecting the particle.
 
void AddConstraintHandle (const int32 &Index, FConstraintHandle *InConstraintHandle)
 
void RemoveConstraintHandle (const int32 &Index, FConstraintHandle *InConstraintHandle)
 
FParticleCollisionsParticleCollisions (const int32 Index)
 All of the collision constraints affecting the particle.
 
FORCEINLINE Private::FPBDIslandParticleConstraintGraphNode (const int32 Index) const
 
FORCEINLINE Private::FPBDIslandParticle *& ConstraintGraphNode (const int32 Index)
 
FORCEINLINE EResimType ResimType (const int32 Index) const
 
FORCEINLINE EResimTypeResimType (const int32 Index)
 
FORCEINLINE bool EnabledDuringResim (const int32 Index) const
 
FORCEINLINE boolEnabledDuringResim (const int32 Index)
 
FORCEINLINE bool LightWeightDisabled (const int32 Index) const
 
FORCEINLINE boolLightWeightDisabled (const int32 Index)
 
FORCEINLINE EGeometryParticleListMask ListMask (const int32 Index) const
 
FORCEINLINE EGeometryParticleListMaskListMask (const int32 Index)
 
 UE_DEPRECATED (5.3, "Use ConstraintGraphNode") const int32 ConstraintGraphIndex(const int32 Index) const
 
 UE_DEPRECATED (5.3, "Use ConstraintGraphNode") int32 &ConstraintGraphIndex(const int32 Index)
 
FString ToString (int32 index) const
 
FORCEINLINE EParticleType ParticleType () const
 
FORCEINLINE EGeometryParticleListMask GetContainerListMask () const
 
void SetContainerListMask (const EGeometryParticleListMask InMask)
 
FORCEINLINE TArray< TAABB< T, d > > & AllLocalBounds ()
 
FORCEINLINE TArray< TAABB< T, d > > & AllWorldSpaceInflatedBounds ()
 
FORCEINLINE TArray< bool > & AllHasBounds ()
 
void SetHandle (int32 Index, FGeometryParticleHandle *Handle)
 
void SetHandle (int32 Index, FGeometryParticleHandle *Handle)
 
TGeometryParticlesImp< FRealSingle, 3, EGeometryParticlesSimType::Other > * SerializationFactory (FChaosArchive &Ar, TGeometryParticlesImp< FRealSingle, 3, EGeometryParticlesSimType::Other > *Particles)
 
TGeometryParticlesImp< FRealDouble, 3, EGeometryParticlesSimType::Other > * SerializationFactory (FChaosArchive &Ar, TGeometryParticlesImp< FRealDouble, 3, EGeometryParticlesSimType::Other > *Particles)
 
void SetHandle (int32 Index, TGeometryParticleHandle< FReal, 3 > *Handle)
 
TGeometryParticlesImp< FReal, 3, EGeometryParticlesSimType::Other > * SerializationFactory (FChaosArchive &Ar, TGeometryParticlesImp< FReal, 3, EGeometryParticlesSimType::Other > *Particles)
 
uint32 Size () const
 
- Public Member Functions inherited from Chaos::TSimpleGeometryParticles< T, d >
 TSimpleGeometryParticles ()
 
 TSimpleGeometryParticles (const TSimpleGeometryParticles< T, d > &Other)=delete
 
 TSimpleGeometryParticles (TSimpleGeometryParticles< T, d > &&Other)
 
TSimpleGeometryParticlesoperator= (const TSimpleGeometryParticles< T, d > &Other)=delete
 
TSimpleGeometryParticlesoperator= (TSimpleGeometryParticles< T, d > &&Other)=delete
 
 TSimpleGeometryParticles (TParticles< T, d > &&Other)
 
virtual ~TSimpleGeometryParticles () override
 
FORCEINLINE const TRotation< T, d > R (const int32 Index) const
 
FORCEINLINE TRotation< T, d > R (const int32 Index)
 
FORCEINLINE const TRotation< T, d > GetR (const int32 Index) const
 
FORCEINLINE void SetR (const int32 Index, const TRotation< T, d > &InR)
 
FORCEINLINE const TRotation< FRealSingle, d > GetRf (const int32 Index) const
 
FORCEINLINE void SetRf (const int32 Index, const TRotation< FRealSingle, d > &InR)
 
const TArrayCollectionArray< TRotation< FRealSingle, d > > & GetR () const
 
TArrayCollectionArray< TRotation< FRealSingle, d > > & GetR ()
 
FORCEINLINE const FImplicitObjectPtrGetGeometry (const int32 Index) const
 
void SetGeometry (const int32 Index, const FImplicitObjectPtr &InGeometry)
 
FORCEINLINE const TArray< FImplicitObjectPtr > & GetAllGeometry () const
 
FORCEINLINE TArray< TRotation< FRealSingle, d > > & AllR ()
 
uint32 Size () const
 
- 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

- Static Public Member Functions inherited from Chaos::TGeometryParticlesImp< T, d, SimType >
static CHAOS_API TGeometryParticlesImp< T, d, SimType > * SerializationFactory (FChaosArchive &Ar, TGeometryParticlesImp< T, d, SimType > *Particles)
 
static constexpr bool IsRigidBodySim ()
 
- 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::TGeometryParticlesImp< T, d, SimType >
EParticleType MParticleType
 
EGeometryParticleListMask MContainerListMask
 
- Protected Attributes inherited from Chaos::TArrayCollection
uint32 MSize
 

Member Typedef Documentation

◆ THandleType

template<class T , int d, EGeometryParticlesSimType SimType>
typedef TKinematicGeometryParticleHandle<T, d> Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::THandleType

Constructor & Destructor Documentation

◆ TKinematicGeometryParticlesImp() [1/3]

template<class T , int d, EGeometryParticlesSimType SimType>
Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::TKinematicGeometryParticlesImp ( )
inline

◆ TKinematicGeometryParticlesImp() [2/3]

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

◆ TKinematicGeometryParticlesImp() [3/3]

template<class T , int d, EGeometryParticlesSimType SimType>
Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::TKinematicGeometryParticlesImp ( TKinematicGeometryParticlesImp< T, d, SimType > &&  Other)
inline

◆ ~TKinematicGeometryParticlesImp()

template<class T , int d, EGeometryParticlesSimType SimType>
virtual Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::~TKinematicGeometryParticlesImp ( )
inlinevirtual

Member Function Documentation

◆ AllKinematicTargets()

template<class T , int d, EGeometryParticlesSimType SimType>
FORCEINLINE TArray< FKinematicTarget > & Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::AllKinematicTargets ( )
inline

◆ AllV()

template<class T , int d, EGeometryParticlesSimType SimType>
FORCEINLINE TArray< TVector< FRealSingle, d > > & Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::AllV ( )
inline

◆ AllW()

template<class T , int d, EGeometryParticlesSimType SimType>
FORCEINLINE TArray< TVector< FRealSingle, d > > & Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::AllW ( )
inline

◆ GetV()

template<class T , int d, EGeometryParticlesSimType SimType>
const TVector< T, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::GetV ( const int32  Index) const
inline

◆ GetVf()

template<class T , int d, EGeometryParticlesSimType SimType>
const TVector< FRealSingle, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::GetVf ( const int32  Index) const
inline

◆ GetW()

template<class T , int d, EGeometryParticlesSimType SimType>
const TVector< T, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::GetW ( const int32  Index) const
inline

◆ GetWf()

template<class T , int d, EGeometryParticlesSimType SimType>
const TVector< FRealSingle, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::GetWf ( const int32  Index) const
inline

◆ Handle() [1/2]

template<class T , int d, EGeometryParticlesSimType SimType>
TKinematicGeometryParticlesImp< T, d, SimType >::THandleType * Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::Handle ( int32  Index)

◆ Handle() [2/2]

template<class T , int d, EGeometryParticlesSimType SimType>
const TKinematicGeometryParticlesImp< T, d, SimType >::THandleType * Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::Handle ( int32  Index) const

◆ KinematicTarget() [1/2]

template<class T , int d, EGeometryParticlesSimType SimType>
FKinematicTarget & Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::KinematicTarget ( const int32  Index)
inline

◆ KinematicTarget() [2/2]

template<class T , int d, EGeometryParticlesSimType SimType>
const FKinematicTarget & Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::KinematicTarget ( const int32  Index) const
inline

◆ Serialize()

◆ SetV()

template<class T , int d, EGeometryParticlesSimType SimType>
void Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::SetV ( const int32  Index,
const TVector< T, d > &  InV 
)
inline

◆ SetVf()

template<class T , int d, EGeometryParticlesSimType SimType>
void Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::SetVf ( const int32  Index,
const TVector< FRealSingle, d > &  InV 
)
inline

◆ SetW()

template<class T , int d, EGeometryParticlesSimType SimType>
void Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::SetW ( const int32  Index,
const TVector< T, d > &  InW 
)
inline

◆ SetWf()

template<class T , int d, EGeometryParticlesSimType SimType>
void Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::SetWf ( const int32  Index,
const TVector< FRealSingle, d > &  InW 
)
inline

◆ ToString()

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

◆ V() [1/2]

template<class T , int d, EGeometryParticlesSimType SimType>
TVector< T, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::V ( const int32  Index)
inline

◆ V() [2/2]

template<class T , int d, EGeometryParticlesSimType SimType>
const TVector< T, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::V ( const int32  Index) const
inline

◆ W() [1/2]

template<class T , int d, EGeometryParticlesSimType SimType>
TVector< T, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::W ( const int32  Index)
inline

◆ W() [2/2]

template<class T , int d, EGeometryParticlesSimType SimType>
const TVector< T, d > Chaos::TKinematicGeometryParticlesImp< T, d, SimType >::W ( const int32  Index) const
inline

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