Class ReferenceImageMetrics
Represents metrics for reference images used in graphics tests.
Implements
Inherited Members
Namespace: UnityEditor.TestTools.Graphics
Assembly: UnityEditor.TestTools.Graphics.dll
Syntax
[Serializable]
public record ReferenceImageMetrics : IEquatable<ReferenceImageMetrics>
Properties
AccumulatedDivergence
The accumulated divergence across all nodes. This value represents the average divergence of reference images compared to the best match. A lower value indicates better optimization, as it means the reference images are more consistent across nodes. A value of 0 indicates that all reference images are identical across nodes.
Declaration
public double AccumulatedDivergence { get; init; }
Property Value
| Type | Description |
|---|---|
| double |
PlatformCount
The number of nodes for which reference images were compared. This includes the 'base' platform and any additional nodes that have reference images.
Declaration
public int PlatformCount { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |