docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ReferenceImageMetrics

    Represents metrics for reference images used in graphics tests.

    Inheritance
    object
    ReferenceImageMetrics
    Implements
    IEquatable<ReferenceImageMetrics>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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
    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    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)