docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    EventArgs
    ImageStatsEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)