Enum
SolverConvergenceMetricType
Specifies the metric used to identify the least-converged constraint when visualizing physics solver convergence.
Specifies the metric used to determine which constraint is least converged
within a solver island when
PhysicsSettings.SolverConvergenceVisualizationMode is active. The
selected metric controls what data is gathered per constraint and displayed in
the per-edge and per-island overlay. The default value, stored on
PhysicsSettings.SolverConvergenceMetricType, is
SolverConvergenceMetricType.AlgorithmAgnostic.
Items 2#
| Name | Value | Summary |
|---|---|---|
IterationBased | 0 | Identifies the least-converged constraint using the estimated force change from an additional, non-applied solver iteration. |
AlgorithmAgnostic | 1 | Identifies the least-converged constraint using a residual-based convergence metric supported across solver algorithms. |