![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PBDFlatWeightMap.h>
Public Member Functions | |
| FPBDFlatWeightMapView (const FSolverVec2 &InWeightedValue, const TConstArrayView< FSolverReal > &Multipliers, int32 InNumElements) | |
| ~FPBDFlatWeightMapView ()=default | |
| FPBDFlatWeightMapView (const FPBDFlatWeightMapView &)=default | |
| FPBDFlatWeightMapView (FPBDFlatWeightMapView &&)=default | |
| FPBDFlatWeightMapView & | operator= (const FPBDFlatWeightMapView &)=default |
| FPBDFlatWeightMapView & | operator= (FPBDFlatWeightMapView &&)=default |
| int32 | Num () const |
| bool | HasWeightMap () const |
| void | SetWeightedValue (const FSolverVec2 &InWeightedValue) |
| const FSolverVec2 & | GetOffsetRange () const |
| FSolverReal | operator[] (int32 Index) const |
| FSolverReal | GetLow () const |
| FSolverReal | GetHigh () const |
| FSolverReal | GetValue (int32 Index) const |
| operator FSolverReal () const | |
| void | SetMapValues (const TConstArrayView< FSolverReal > &InMapValues) |
| TConstArrayView< FSolverReal > | GetMapValues () const |
Simple weight map wrapping existing weight values. Also holds low/high values, but these are multiplied against the map each time the operator[] is called.
|
inline |
|
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 |
Set the low and high values of the weight map.