Class TerrainParityReport
- Namespace
- Valheim.Testing
- Assembly
- Valheim.Testing.dll
What Compare(ITerrain, ITerrain, TerrainArea, float, float, bool, float?, int) found. Worst lists hold the largest differences whether or not they fail.
public sealed class TerrainParityReport
- Inheritance
-
objectTerrainParityReport
Properties
BiomeMismatches
public int BiomeMismatches { get; }
Property Value
- int
BiomesCompared
public bool BiomesCompared { get; }
Property Value
- bool
FirstBiomeMismatches
The first mismatches in sampling order (z rows, x fastest), up to the worst count.
public IReadOnlyList<TerrainBiomeMismatch> FirstBiomeMismatches { get; }
Property Value
- IReadOnlyList<TerrainBiomeMismatch>
HeightFailures
Samples whose height differs by more than the tolerance, or where either height is not finite.
public int HeightFailures { get; }
Property Value
- int
HeightTolerance
public float HeightTolerance { get; }
Property Value
- float
MaxHeightDifference
Largest absolute height difference; +infinity when a height was not finite.
public double MaxHeightDifference { get; }
Property Value
- double
Passed
public bool Passed { get; }
Property Value
- bool
RiverFailures
public int RiverFailures { get; }
Property Value
- int
RiverWeightTolerance
public float? RiverWeightTolerance { get; }
Property Value
- float?
SampleCount
public int SampleCount { get; }
Property Value
- int
WorstHeights
public IReadOnlyList<TerrainParityPoint> WorstHeights { get; }
Property Value
- IReadOnlyList<TerrainParityPoint>
WorstRiverWeights
public IReadOnlyList<TerrainParityPoint> WorstRiverWeights { get; }
Property Value
- IReadOnlyList<TerrainParityPoint>
Methods
ToString()
public override string ToString()
Returns
- string