Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FPBDStiffness
Description
Set the low and high values of the weight map. The weight map table only gets updated after ApplyValues is called. Low and high values are clamped between [0, MaxStiffness]
| Name | SetWeightedValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDStiffness.h |
| Include Path | #include "Chaos/PBDStiffness.h" |
void SetWeightedValue
(
const FSolverVec2 & InWeightedValue,
FSolverReal MaxStiffness
)