#include <PBDLongRangeConstraintsBase.h>
|
| | UE_NONCOPYABLE (FPBDLongRangeConstraintsBase) |
| |
| CHAOS_API | FPBDLongRangeConstraintsBase (const FSolverParticlesRange &Particles, const TArray< TConstArrayView< TTuple< int32, int32, FRealSingle > > > &InTethers, const TConstArrayView< FRealSingle > &StiffnessMultipliers, const TConstArrayView< FRealSingle > &ScaleMultipliers, const FSolverVec2 &InStiffness=FSolverVec2::UnitVector, const FSolverVec2 &InScale=FSolverVec2::UnitVector, FSolverReal MaxStiffness=FPBDStiffness::DefaultPBDMaxStiffness, FSolverReal MeshScale=(FSolverReal) 1.) |
| |
| CHAOS_API | FPBDLongRangeConstraintsBase (const FSolverParticles &Particles, const int32 InParticleOffset, const int32 InParticleCount, const TArray< TConstArrayView< TTuple< int32, int32, FRealSingle > > > &InTethers, const TConstArrayView< FRealSingle > &StiffnessMultipliers, const TConstArrayView< FRealSingle > &ScaleMultipliers, const FSolverVec2 &InStiffness=FSolverVec2::UnitVector, const FSolverVec2 &InScale=FSolverVec2::UnitVector, FSolverReal MaxStiffness=FPBDStiffness::DefaultPBDMaxStiffness, FSolverReal MeshScale=(FSolverReal) 1.) |
| |
| virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS | ~FPBDLongRangeConstraintsBase () |
| |
| PRAGMA_ENABLE_DEPRECATION_WARNINGS FSolverVec2 | GetStiffness () const |
| |
| void | SetProperties (const FSolverVec2 &InStiffness, const FSolverVec2 &InTetherScale, FSolverReal MeshScale=(FSolverReal) 1.) |
| |
| void | ApplyProperties (const FSolverReal Dt, const int32 NumIterations) |
| |
| const TArray< TConstArrayView< FTether > > & | GetTethers () const |
| |
| int32 | GetStartIndex (const FTether &Tether) const |
| |
| int32 | GetStartParticle (const FTether &Tether) const |
| |
| int32 | GetEndIndex (const FTether &Tether) const |
| |
| int32 | GetEndParticle (const FTether &Tether) const |
| |
| FSolverReal | GetRefLength (const FTether &Tether) const |
| |
| FSolverReal | GetScale (const FTether &Tether) const |
| |
| FSolverReal | GetTargetLength (const FTether &Tether) const |
| |
◆ FTether
◆ FPBDLongRangeConstraintsBase() [1/2]
◆ FPBDLongRangeConstraintsBase() [2/2]
| Chaos::Softs::FPBDLongRangeConstraintsBase::FPBDLongRangeConstraintsBase |
( |
const FSolverParticles & |
Particles, |
|
|
const int32 |
InParticleOffset, |
|
|
const int32 |
InParticleCount, |
|
|
const TArray< TConstArrayView< TTuple< int32, int32, FRealSingle > > > & |
InTethers, |
|
|
const TConstArrayView< FRealSingle > & |
StiffnessMultipliers, |
|
|
const TConstArrayView< FRealSingle > & |
ScaleMultipliers, |
|
|
const FSolverVec2 & |
InStiffness = FSolverVec2::UnitVector, |
|
|
const FSolverVec2 & |
InScale = FSolverVec2::UnitVector, |
|
|
FSolverReal |
MaxStiffness = FPBDStiffness::DefaultPBDMaxStiffness, |
|
|
FSolverReal |
MeshScale = (FSolverReal)1. |
|
) |
| |
◆ ~FPBDLongRangeConstraintsBase()
◆ ApplyProperties()
| void Chaos::Softs::FPBDLongRangeConstraintsBase::ApplyProperties |
( |
const FSolverReal |
Dt, |
|
|
const int32 |
NumIterations |
|
) |
| |
|
inline |
◆ GetDelta() [1/2]
◆ GetDelta() [2/2]
◆ GetEndIndex()
| int32 Chaos::Softs::FPBDLongRangeConstraintsBase::GetEndIndex |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetEndParticle()
| int32 Chaos::Softs::FPBDLongRangeConstraintsBase::GetEndParticle |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetMinParallelBatchSize()
| int32 Chaos::Softs::FPBDLongRangeConstraintsBase::GetMinParallelBatchSize |
( |
| ) |
|
|
staticprotected |
◆ GetRefLength()
| FSolverReal Chaos::Softs::FPBDLongRangeConstraintsBase::GetRefLength |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetScale()
| FSolverReal Chaos::Softs::FPBDLongRangeConstraintsBase::GetScale |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetStartIndex()
| int32 Chaos::Softs::FPBDLongRangeConstraintsBase::GetStartIndex |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetStartParticle()
| int32 Chaos::Softs::FPBDLongRangeConstraintsBase::GetStartParticle |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetStiffness()
◆ GetTargetLength()
| FSolverReal Chaos::Softs::FPBDLongRangeConstraintsBase::GetTargetLength |
( |
const FTether & |
Tether | ) |
const |
|
inline |
◆ GetTethers()
◆ SetProperties()
◆ UE_NONCOPYABLE()
◆ MaxTetherScale
◆ MinTetherScale
◆ ParticleCount
| const int32 Chaos::Softs::FPBDLongRangeConstraintsBase::ParticleCount |
|
protected |
◆ ParticleOffset
| const int32 Chaos::Softs::FPBDLongRangeConstraintsBase::ParticleOffset |
|
protected |
◆ Stiffness
| FPBDStiffness Chaos::Softs::FPBDLongRangeConstraintsBase::Stiffness |
|
protected |
◆ TableSize
| constexpr int32 Chaos::Softs::FPBDLongRangeConstraintsBase::TableSize = 16 |
|
staticconstexprprotected |
◆ Tethers
◆ TetherScale
| FPBDWeightMap Chaos::Softs::FPBDLongRangeConstraintsBase::TetherScale |
|
protected |
The documentation for this class was generated from the following files: