Class ImageStatsEventArgs
Event arguments for the OnStatsReceived event. Contains the test name and the metrics for the reference image optimization. This event is triggered when the optimization process provides statistics about the reference images.
Inherited Members
Namespace: UnityEditor.TestTools.Graphics
Assembly: UnityEditor.TestTools.Graphics.dll
Syntax
public class ImageStatsEventArgs : EventArgs
Properties
Metrics
The metrics associated with the reference images for the specified test.
Declaration
public ReferenceImageMetrics Metrics { get; init; }
Property Value
| Type | Description |
|---|---|
| ReferenceImageMetrics |
TestName
The name of the test for which the reference image metrics are reported. This is typically the name of the test case that the reference images belong to.
Declaration
public string TestName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |