![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PBDFlatWeightMap.h>
Simple weight map just converting from per particle to per constraint values. Also holds low/high values, but these are multiplied against the map each time the operator[] is called.
|
inlineexplicit |
Weightmap particle constructor.
|
inline |
|
inlineexplicit |
Weightmap constraint constructor.
|
default |
|
default |
|
default |
|
inline |
Return the value at the High weight.
|
inline |
Return the value at the Low weight.
|
inline |
Return the table of stiffnesses as a read only array.
|
inline |
Return the values set for this map as an Offset and Range (Low = OffsetRange[0], High = OffsetRange[0] + OffsetRange[1])
|
inline |
|
inline |
Return whether this object contains weight map values.
|
inline |
Return the number of values stored in the weight map.
|
inlineexplicit |
Return the value when the weight map is not used.
|
default |
|
default |
|
inline |
Lookup for the 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 |
|
inline |
Reorder Indices based on Constraint reordering.
|
inline |
Set the low and high values of the weight map.