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

#include <PBDSelfCollisionSphereConstraints.h>

+ Inheritance diagram for Chaos::Softs::FPBDSelfCollisionSphereConstraints:

Public Member Functions

 FPBDSelfCollisionSphereConstraints (const int32 InOffset, const int32 InNumParticles, const TMap< FString, const TSet< int32 > * > &VertexSets, const FCollectionPropertyConstFacade &PropertyCollection)
 
CHAOS_API void SetProperties (const FCollectionPropertyConstFacade &PropertyCollection, const TMap< FString, const TSet< int32 > * > &VertexSets)
 
 UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (SelfCollisionSphereSetName, bool)
 
 UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (SelfCollisionSphereRadius, float)
 
 UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (SelfCollisionSphereStiffness, float)
 
- Public Member Functions inherited from Chaos::Softs::FPBDSelfCollisionSphereConstraintsBase
CHAOS_API FPBDSelfCollisionSphereConstraintsBase (const int32 InOffset, const int32 InNumParticles, const TSet< int32 > *InVertexSetNoOffset, const TArray< FSolverVec3 > *InReferencePositions, const FSolverReal InRadius, const FSolverReal InStiffness)
 
virtual ~FPBDSelfCollisionSphereConstraintsBase ()
 
template<typename SolverParticlesOrRange >
CHAOS_API void Init (const SolverParticlesOrRange &Particles)
 
template<typename SolverParticlesOrRange >
CHAOS_API void Apply (SolverParticlesOrRange &InParticles, const FSolverReal Dt) const
 
const TArray< TVec2< int32 > > & GetConstraints () const
 
const TSet< int32 > * GetVertexSet () const
 
FSolverReal GetRadius () const
 
template<typename SolverParticlesOrRange >
void Init (const SolverParticlesOrRange &Particles)
 
template<typename SolverParticlesOrRange >
void Apply (SolverParticlesOrRange &Particles, const FSolverReal Dt) const
 

Static Public Member Functions

static bool IsEnabled (const FCollectionPropertyConstFacade &PropertyCollection)
 

Additional Inherited Members

- Protected Attributes inherited from Chaos::Softs::FPBDSelfCollisionSphereConstraintsBase
TArray< TVec2< int32 > > Constraints
 
FSolverReal Radius
 
FSolverReal Stiffness
 
const TSet< int32 > * VertexSetNoOffset
 

Constructor & Destructor Documentation

◆ FPBDSelfCollisionSphereConstraints()

Chaos::Softs::FPBDSelfCollisionSphereConstraints::FPBDSelfCollisionSphereConstraints ( const int32  InOffset,
const int32  InNumParticles,
const TMap< FString, const TSet< int32 > * > &  VertexSets,
const FCollectionPropertyConstFacade PropertyCollection 
)
inline

Member Function Documentation

◆ IsEnabled()

static bool Chaos::Softs::FPBDSelfCollisionSphereConstraints::IsEnabled ( const FCollectionPropertyConstFacade PropertyCollection)
inlinestatic

◆ SetProperties()

void Chaos::Softs::FPBDSelfCollisionSphereConstraints::SetProperties ( const FCollectionPropertyConstFacade PropertyCollection,
const TMap< FString, const TSet< int32 > * > &  VertexSets 
)

◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [1/3]

Chaos::Softs::FPBDSelfCollisionSphereConstraints::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME ( SelfCollisionSphereRadius  ,
float   
)

◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [2/3]

Chaos::Softs::FPBDSelfCollisionSphereConstraints::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME ( SelfCollisionSphereSetName  ,
bool   
)

◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [3/3]

Chaos::Softs::FPBDSelfCollisionSphereConstraints::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME ( SelfCollisionSphereStiffness  ,
float   
)

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