Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FXPBDStretchBiasElementConstraints |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/XPBDStretchBiasElementConstraints.h |
| Include Path | #include "Chaos/XPBDStretchBiasElementConstraints.h" |
Syntax
class FXPBDStretchBiasElementConstraints
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FXPBDStretchBiasElementConstraints
(
const FSolverParticles& InParticles, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
FXPBDStretchBiasElementConstraints
(
const FSolverParticlesRange& InParticles, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
FXPBDStretchBiasElementConstraints
(
const FSolverParticles& InParticles, |
Chaos/XPBDStretchBiasElementConstraints.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FXPBDStretchBiasElementConstraints() |
Chaos/XPBDStretchBiasElementConstraints.h |
Structs
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bDefaultUse3dRestLengths | bool | Chaos/XPBDStretchBiasElementConstraints.h | |
| DefaultWarpWeftScale | FSolverReal | Chaos/XPBDStretchBiasElementConstraints.h | |
| MaxDamping | FSolverReal | Chaos/XPBDStretchBiasElementConstraints.h | |
| MaxStiffness | FSolverReal | Chaos/XPBDStretchBiasElementConstraints.h | |
| MaxWarpWeftScale | FSolverReal | Chaos/XPBDStretchBiasElementConstraints.h | |
| MinDamping | FSolverReal | Chaos/XPBDStretchBiasElementConstraints.h | |
| MinStiffness | FSolverReal | Stiffness is in kg cm / s^2 for stretch, kg cm^2 / s^2 for Bias. | Chaos/XPBDStretchBiasElementConstraints.h |
| MinWarpWeftScale | FSolverReal | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchDampingName | const FName | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchStiffnessBiasName | const FName | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchStiffnessWarpName | const FName | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchStiffnessWeftName | const FName | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchUse3dRestLengthsName | const FName | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchWarpScaleName | const FName | Chaos/XPBDStretchBiasElementConstraints.h | |
| XPBDAnisoStretchWeftScaleName | const FName | Chaos/XPBDStretchBiasElementConstraints.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDmInitialized | bool | Chaos/XPBDStretchBiasElementConstraints.h | ||
| Constraints | TArray< TVec3< int32 > > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| ConstraintsPerColorStartIndex | TArray< int32 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| DampingRatio | FPBDWeightMap | Chaos/XPBDStretchBiasElementConstraints.h | ||
| DeltaUVInverse | TArray< FSolverMatrix22 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| DmArray | TArray< FSolverMatrix22 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| DmInverse | TArray< FSolverMatrix22 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| Lambdas | TArray< FSolverVec3 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| Measure | TArray< FSolverReal > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| ParticleCount | const int32 | Chaos/XPBDStretchBiasElementConstraints.h | ||
| ParticleOffset | const int32 | Chaos/XPBDStretchBiasElementConstraints.h | ||
| RestDmArray | TArray< PMatrix< FSolverReal, 3, 2 > > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| RestStretchLengths | TArray< FSolverVec3 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| StiffnessBias | FPBDStiffness | Chaos/XPBDStretchBiasElementConstraints.h | ||
| StiffnessScales | TArray< FSolverVec3 > | Chaos/XPBDStretchBiasElementConstraints.h | ||
| StiffnessWarp | FPBDStiffness | Chaos/XPBDStretchBiasElementConstraints.h | ||
| StiffnessWeft | FPBDStiffness | Chaos/XPBDStretchBiasElementConstraints.h | ||
| WarpScale | FPBDWeightMap | Chaos/XPBDStretchBiasElementConstraints.h | ||
| WeftScale | FPBDWeightMap | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchDampingIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchDampingIndex | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchStiffnessBiasIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchStiffnessBiasIndex | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchStiffnessWarpIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchStiffnessWarpIndex | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchStiffnessWeftIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchStiffnessWeftIndex | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchUse3dRestLengthsIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchUse3dRestLengthsIndex | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchWarpScaleIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchWarpScaleIndex | Chaos/XPBDStretchBiasElementConstraints.h | ||
| XPBDAnisoStretchWeftScaleIndex | Chaos::Softs::FXPBDStretchBiasElementConstraints::FXPBDAnisoStretchWeftScaleIndex | Chaos/XPBDStretchBiasElementConstraints.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddInternalForceDifferential
(
const FSolverParticles& InParticles, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void AddStretchBiasElementResidualAndHessian
(
const FSolverParticles& Particles, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void Apply
(
SolverParticlesOrRange& Particles, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void ApplyProperties
(
const FSolverReal, |
Update stiffness table, as well as the simulation stiffness exponent. | Chaos/XPBDStretchBiasElementConstraints.h | |
void CalculateUVStretch
(
const int32 ConstraintIndex, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
const TArray< TVec3< int32 > > & GetConstraints() |
Chaos/XPBDStretchBiasElementConstraints.h | ||
| Chaos/XPBDStretchBiasElementConstraints.h | |||
const TArray< int32 > & GetConstraintsPerColorStartIndex() |
Chaos/XPBDStretchBiasElementConstraints.h | ||
const TArray< FSolverVec3 > GetRestStretchLengths() |
Chaos/XPBDStretchBiasElementConstraints.h | ||
FSolverVec2 GetWarpWeftScale
(
const int32 ConstraintIndex |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void Init() |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void InitConstraintsAndRestData
(
const SolverParticlesOrRange& InParticles, |
|||
void InitializeDmInvAndMeasures
(
const FSolverParticles& Particles |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void SetProperties
(
const FCollectionPropertyConstFacade& PropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
void SetProperties
(
const FSolverVec2& InStiffnessWarp, |
Chaos/XPBDStretchBiasElementConstraints.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetHighXPBDAnisoStretchDamping
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetHighXPBDAnisoStretchStiffnessBias
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetHighXPBDAnisoStretchStiffnessWarp
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetHighXPBDAnisoStretchStiffnessWeft
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool GetHighXPBDAnisoStretchUse3dRestLengths
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetHighXPBDAnisoStretchWarpScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetHighXPBDAnisoStretchWeftScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetLowXPBDAnisoStretchDamping
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetLowXPBDAnisoStretchStiffnessBias
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetLowXPBDAnisoStretchStiffnessWarp
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetLowXPBDAnisoStretchStiffnessWeft
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool GetLowXPBDAnisoStretchUse3dRestLengths
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetLowXPBDAnisoStretchWarpScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetLowXPBDAnisoStretchWeftScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchDamping
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchDamping
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchStiffnessBias
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchStiffnessBias
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchStiffnessWarp
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchStiffnessWarp
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchStiffnessWeft
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchStiffnessWeft
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchUse3dRestLengths
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchUse3dRestLengths
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchWarpScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchWarpScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchWeftScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FVector2f GetWeightedFloatXPBDAnisoStretchWeftScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< float, float > GetWeightedXPBDAnisoStretchDamping
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< float, float > GetWeightedXPBDAnisoStretchStiffnessBias
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< float, float > GetWeightedXPBDAnisoStretchStiffnessWarp
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< float, float > GetWeightedXPBDAnisoStretchStiffnessWeft
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< bool, bool > GetWeightedXPBDAnisoStretchUse3dRestLengths
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< float, float > GetWeightedXPBDAnisoStretchWarpScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static TPair< float, float > GetWeightedXPBDAnisoStretchWeftScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetXPBDAnisoStretchDamping
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchDampingString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetXPBDAnisoStretchStiffnessBias
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchStiffnessBiasString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetXPBDAnisoStretchStiffnessWarp
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchStiffnessWarpString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetXPBDAnisoStretchStiffnessWeft
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchStiffnessWeftString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool GetXPBDAnisoStretchUse3dRestLengths
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchUse3dRestLengthsString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetXPBDAnisoStretchWarpScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchWarpScaleString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static float GetXPBDAnisoStretchWeftScale
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static FString GetXPBDAnisoStretchWeftScaleString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsEnabled
(
const FCollectionPropertyConstFacade& PropertyCollection |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchDampingAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchDampingEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchStiffnessBiasAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchStiffnessBiasEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchStiffnessWarpAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchStiffnessWarpEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchStiffnessWeftAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchStiffnessWeftEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchUse3dRestLengthsAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchUse3dRestLengthsEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchWarpScaleAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchWarpScaleEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchWeftScaleAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h | ||
static bool IsXPBDAnisoStretchWeftScaleEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/XPBDStretchBiasElementConstraints.h |