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

Namespaces

namespace  EvolutionSoftBodyDefault
 
namespace  EvolutionSolverDefault
 

Classes

struct  FSphereSpatialEntry
 

Functions

template<typename T >
TArrayView< T > GetArrayView (TManagedArrayAccessor< T > &DataArray, const TManagedArrayAccessor< int32 > &StartArray, const TManagedArrayAccessor< int32 > &EndArray, int32 ConstraintIndex)
 
template<typename T >
TConstArrayView< T > GetConstArrayView (const TManagedArrayAccessor< T > &DataArray, const TManagedArrayAccessor< int32 > &StartArray, const TManagedArrayAccessor< int32 > &EndArray, int32 ConstraintIndex)
 
template<typename T >
void CopyArrayViewData (const TArrayView< T > &To, const TConstArrayView< T > &From)
 
template<typename T >
void CopyArrayViewDataAndApplyOffset (const TArrayView< TArray< T > > &To, const TConstArrayView< TArray< T > > &From, const T Offset)
 
void SetIndicesAndWeights (const int32 EndPointNumIndices, TArray< int32 > &IndexArray, TArray< float > &WeightArray, const TConstArrayView< int32 > &InIndexArray, const TConstArrayView< float > &InWeightArray)
 
bool CleanIndicesAndWeights (TArray< int32 > &IndexArray, TArray< float > &WeightArray)
 
void Calculate3DRestAngles (const TConstArrayView< FSolverVec3 > &InPositions, const TArray< TVec4< int32 > > &Constraints, TArray< FSolverReal > &RestAngles)
 
void CalculateFlatnessRestAngles (const TConstArrayView< FSolverVec3 > &InPositions, int32 InParticleOffset, int32 InParticleCount, const TConstArrayView< FRealSingle > &RestAngleMap, const FSolverVec2 &RestAngleValue, const TArray< TVec4< int32 > > &Constraints, TArray< FSolverReal > &RestAngles)
 
void CalculateExplicitRestAngles (int32 InParticleOffset, int32 InParticleCount, const TConstArrayView< FRealSingle > &RestAngleMap, const FSolverVec2 &RestAngleValue, const TArray< TVec4< int32 > > &Constraints, TArray< FSolverReal > &RestAngles)
 
void ReflectOneSidedCollision (const FSolverVec3 &P, const FSolverVec3 &OneSidedPlaneNormal, const FSolverVec3 &SplitOrigin, FSolverReal &Penetration, FSolverVec3 &ImplicitNormal)
 

Variables

bool bOverrideExtremeDeformationEdgeRatioThreshold = false
 
FAutoConsoleVariableRef CVarOverrideExtremeDeformationEdgeRatioThreshold (TEXT("p.ExtremeDeformationConstraints.OverrideExtremeDeformationEdgeRatioThreshold"), bOverrideExtremeDeformationEdgeRatioThreshold, TEXT("Override asset-based extreme deformation edge ratio threshold with GlobalExtremeDeformationEdgeRatioThreshold."))
 
float GlobalExtremeDeformationEdgeRatioThreshold = FLT_MAX
 
FAutoConsoleVariableRef CVarGlobalExtremeDeformationEdgeRatioThreshold (TEXT("p.ExtremeDeformationConstraints.GlobalExtremeDeformationEdgeRatioThreshold"), GlobalExtremeDeformationEdgeRatioThreshold, TEXT("Global extreme deformation edge ratio threshold parameter to trigger position reset."))
 

Function Documentation

◆ Calculate3DRestAngles()

void Chaos::Softs::Private::Calculate3DRestAngles ( const TConstArrayView< FSolverVec3 > &  InPositions,
const TArray< TVec4< int32 > > &  Constraints,
TArray< FSolverReal > &  RestAngles 
)

◆ CalculateExplicitRestAngles()

void Chaos::Softs::Private::CalculateExplicitRestAngles ( int32  InParticleOffset,
int32  InParticleCount,
const TConstArrayView< FRealSingle > &  RestAngleMap,
const FSolverVec2 RestAngleValue,
const TArray< TVec4< int32 > > &  Constraints,
TArray< FSolverReal > &  RestAngles 
)

◆ CalculateFlatnessRestAngles()

void Chaos::Softs::Private::CalculateFlatnessRestAngles ( const TConstArrayView< FSolverVec3 > &  InPositions,
int32  InParticleOffset,
int32  InParticleCount,
const TConstArrayView< FRealSingle > &  RestAngleMap,
const FSolverVec2 RestAngleValue,
const TArray< TVec4< int32 > > &  Constraints,
TArray< FSolverReal > &  RestAngles 
)

◆ CleanIndicesAndWeights()

bool Chaos::Softs::Private::CleanIndicesAndWeights ( TArray< int32 > &  IndexArray,
TArray< float > &  WeightArray 
)

◆ CopyArrayViewData()

template<typename T >
void Chaos::Softs::Private::CopyArrayViewData ( const TArrayView< T > &  To,
const TConstArrayView< T > &  From 
)

◆ CopyArrayViewDataAndApplyOffset()

template<typename T >
void Chaos::Softs::Private::CopyArrayViewDataAndApplyOffset ( const TArrayView< TArray< T > > &  To,
const TConstArrayView< TArray< T > > &  From,
const T  Offset 
)

◆ GetArrayView()

template<typename T >
TArrayView< T > Chaos::Softs::Private::GetArrayView ( TManagedArrayAccessor< T > &  DataArray,
const TManagedArrayAccessor< int32 > &  StartArray,
const TManagedArrayAccessor< int32 > &  EndArray,
int32  ConstraintIndex 
)

◆ GetConstArrayView()

template<typename T >
TConstArrayView< T > Chaos::Softs::Private::GetConstArrayView ( const TManagedArrayAccessor< T > &  DataArray,
const TManagedArrayAccessor< int32 > &  StartArray,
const TManagedArrayAccessor< int32 > &  EndArray,
int32  ConstraintIndex 
)

◆ ReflectOneSidedCollision()

void Chaos::Softs::Private::ReflectOneSidedCollision ( const FSolverVec3 P,
const FSolverVec3 OneSidedPlaneNormal,
const FSolverVec3 SplitOrigin,
FSolverReal Penetration,
FSolverVec3 ImplicitNormal 
)
extern

◆ SetIndicesAndWeights()

void Chaos::Softs::Private::SetIndicesAndWeights ( const int32  EndPointNumIndices,
TArray< int32 > &  IndexArray,
TArray< float > &  WeightArray,
const TConstArrayView< int32 > &  InIndexArray,
const TConstArrayView< float > &  InWeightArray 
)

Variable Documentation

◆ bOverrideExtremeDeformationEdgeRatioThreshold

bool Chaos::Softs::Private::bOverrideExtremeDeformationEdgeRatioThreshold = false

◆ CVarGlobalExtremeDeformationEdgeRatioThreshold

FAutoConsoleVariableRef Chaos::Softs::Private::CVarGlobalExtremeDeformationEdgeRatioThreshold(TEXT("p.ExtremeDeformationConstraints.GlobalExtremeDeformationEdgeRatioThreshold"), GlobalExtremeDeformationEdgeRatioThreshold, TEXT("Global extreme deformation edge ratio threshold parameter to trigger position reset.")) ( TEXT("p.ExtremeDeformationConstraints.GlobalExtremeDeformationEdgeRatioThreshold")  ,
GlobalExtremeDeformationEdgeRatioThreshold  ,
TEXT("Global extreme deformation edge ratio threshold parameter to trigger position reset.")   
)

◆ CVarOverrideExtremeDeformationEdgeRatioThreshold

FAutoConsoleVariableRef Chaos::Softs::Private::CVarOverrideExtremeDeformationEdgeRatioThreshold(TEXT("p.ExtremeDeformationConstraints.OverrideExtremeDeformationEdgeRatioThreshold"), bOverrideExtremeDeformationEdgeRatioThreshold, TEXT("Override asset-based extreme deformation edge ratio threshold with GlobalExtremeDeformationEdgeRatioThreshold.")) ( TEXT("p.ExtremeDeformationConstraints.OverrideExtremeDeformationEdgeRatioThreshold")  ,
bOverrideExtremeDeformationEdgeRatioThreshold  ,
TEXT("Override asset-based extreme deformation edge ratio threshold with GlobalExtremeDeformationEdgeRatioThreshold.")   
)

◆ GlobalExtremeDeformationEdgeRatioThreshold

float Chaos::Softs::Private::GlobalExtremeDeformationEdgeRatioThreshold = FLT_MAX