A mask is simply some storage for a physical mesh parameter painted onto clothing.
更多...
|
| bool | AreAllBelowThreshold (const int32 Index0, const int32 Index1, const int32 Index2, const float Threshold=0.1f) const |
| | Return whether all of the specified triangle points have weight below (or equal) to the specified 更多...
|
| |
| bool | AreAnyBelowThreshold (const int32 Index0, const int32 Index1, const int32 Index2, const float Threshold=0.1f) const |
| | Return whether at least one of the specified triangle points has weight below (or equal) to the specified 更多...
|
| |
|
void | CalcRanges (float &MinValue, float &MaxValue) |
| | Calculates Min/Max values based on values.
|
| |
|
void | Empty () |
| | Empty this map of any values.
|
| |
| float | GetValue (int32 Index) const |
| | Get a value from the map, or return 0 if the index is out of bounds. 更多...
|
| |
| template<typename T , typename = typename TEnableIf<TOr<TIsEnum<T>, TIsArithmetic<T>>::Value>::Type> |
| void | Initialize (const FPointWeightMap &Source, T Target) |
| | Initialize a weight map from another weight map while enabling and setting a new target. 更多...
|
| |
| void | Initialize (const int32 NumPoints) |
| | Reset this map to the specified number of points, and set all the values to zero. 更多...
|
| |
| bool | IsBelowThreshold (const int32 Index, const float Threshold=0.1f) const |
| | Return whether the specified point weight is below (or equal) to the specified threshold. 更多...
|
| |
|
bool | IsZeroed () const |
| | Return whether all points' values are zero.
|
| |
|
int32 | Num () const |
| | Return the number of values in this map.
|
| |
| float & | operator[] (int32 Index) |
| | Return the current float value for the requested point. 更多...
|
| |
| const float & | operator[] (int32 Index) const |
| | Return the current float value for the requested point. 更多...
|
| |
| void | SetValue (int32 Index, float Value) |
| | Set a value in the map checking first whether the index is within bounds. 更多...
|
| |
A mask is simply some storage for a physical mesh parameter painted onto clothing.
Used in the editor for users to paint onto and then target to a parameter, which is then later applied to a phys mesh