#include <NvBlastExtStressSolver.h>
Public Member Functions | |
| ExtStressSolverSettings () | |
Public Attributes | |
| uint32_t | bondIterationsPerFrame |
| number of bond iterations to perform per frame, | |
| uint32_t | graphReductionLevel |
| graph reduction level | |
| float | hardness |
| hardness of bond's material | |
| float | stressAngularFactor |
| angular stress on bond multiplier | |
| float | stressLinearFactor |
| linear stress on bond multiplier | |
Stress on every bond is calculated as stress = (bond.linearStress * stressLinearFactor + bond.angularStress * stressAngularFactor) / hardness; where: bond.linearStress = the linear stress force on particular bond bond.angularStress = the angular stress force on particular bond stressLinearFactor, stressAngularFactor, hardness = multiplier parameters set by this struct
Support graph reduction: graphReductionLevel is the number of node merge passes. The resulting graph will be roughly 2^graphReductionLevel times smaller than the original.
| Nv::Blast::ExtStressSolverSettings::ExtStressSolverSettings | ( | ) | [inline] |
number of bond iterations to perform per frame,
graph reduction level
hardness of bond's material
angular stress on bond multiplier
linear stress on bond multiplier