Navigation
API > API/Runtime > API/Runtime/Chaos
Stiffness class for managing real time update to the weight map and low/high value ranges and to exponentiate the stiffness value depending on the iterations and Dt.
| Name | FPBDStiffness |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDStiffness.h |
| Include Path | #include "Chaos/PBDStiffness.h" |
Syntax
class FPBDStiffness : public Chaos::Softs::FPBDWeightMap
Inheritance Hierarchy
- FPBDWeightMap → FPBDStiffness
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPBDStiffness
(
const FPBDStiffness& |
Chaos/PBDStiffness.h | ||
FPBDStiffness
(
FPBDStiffness&& |
Chaos/PBDStiffness.h | ||
FPBDStiffness
(
const FSolverVec2& InWeightedValue, |
Weightmap particle constructor. | Chaos/PBDStiffness.h | |
FPBDStiffness
(
const FSolverVec2& InWeightedValue, |
Weightmap constraint constructor. | Chaos/PBDStiffness.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPBDStiffness() |
Chaos/PBDStiffness.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultParameterFitBase | FSolverReal | Chaos/PBDStiffness.h | |
| DefaultPBDMaxStiffness | FSolverReal | Chaos/PBDStiffness.h | |
| DefaultTableSize | int32 | Chaos/PBDStiffness.h | |
| ParameterFrequency | FSolverReal | Chaos/PBDStiffness.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsDirty | bool | Chaos/PBDStiffness.h | ||
| ParameterFitBase | FSolverReal | Chaos/PBDStiffness.h | ||
| ParameterFitLogBase | FSolverReal | Chaos/PBDStiffness.h | ||
| PrevDtOrMaxStiffness | FSolverReal | Chaos/PBDStiffness.h | ||
| PrevNumIterations | int32 | Chaos/PBDStiffness.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyPBDValues
(
const FSolverReal Dt, |
Update the weight map table with the current simulation parameters. | Chaos/PBDStiffness.h | |
void ApplyXPBDValues
(
const FSolverReal MaxStiffnesss |
Update the weight map table with the current simulation parameters. | Chaos/PBDStiffness.h | |
void SetWeightedValue
(
const FSolverVec2& InWeightedValue, |
Set the low and high values of the weight map. | Chaos/PBDStiffness.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPBDStiffness & operator=
(
const FPBDStiffness& |
Chaos/PBDStiffness.h | ||
FPBDStiffness & operator=
(
FPBDStiffness&& |
Chaos/PBDStiffness.h |