![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PBDWeightMap.h>
Inheritance diagram for Chaos::Softs::FPBDWeightMap:Protected Member Functions | |
| template<typename FunctorType > | |
| void | ApplyValues (FunctorType &&MappingFunction, bool *bOutUpdated=nullptr) |
Protected Attributes | |
| TArray< uint8 > | Indices |
| TArray< FSolverReal > | Table |
| FSolverVec2 | WeightedValue |
| bool | bIsDirty = true |
Weight map class for managing real time update to the weight map and low/high value ranges
|
inline |
Weightmap particle constructor.
|
inline |
Weightmap constraint constructor.
|
virtualdefault |
|
default |
|
default |
Update the weight map table with the current simulation parameters.
|
inlineprotected |
|
inline |
Return the exponential value at the High weight.
|
inline |
Return the particles/constraints indices to the stiffness table as a read only array.
|
inline |
Return the exponential value at the Low weight.
|
inline |
Return the table of stiffnesses as a read only array.
|
inline |
|
inline |
Return the low and high values set for this weight map. Both values will always be between 0 and 1 due to having been clamped in SetWeightedValue.
|
inline |
Return whether this object contains weight map values.
|
inline |
Return the number of values stored in the weight map.
|
inlineexplicit |
Return the exponential stiffness value when the weight map is not used.
|
default |
|
default |
|
inline |
Lookup for the exponential weighted value at the specified weight map index. This function will assert if it is called with a non zero index on an empty weight map.
|
inline |
Reorder Indices based on Constraint reordering.
|
inline |
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,1]
|
protected |
|
protected |