docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PixelEvaluationGuide

    A struct that contains the evaluation guide for pixel evaluation.

    Implements
    ITextureComparisonSettings
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.TestTools.Graphics.LegacyColorDifference
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    public readonly struct PixelEvaluationGuide : ITextureComparisonSettings

    Constructors

    PixelEvaluationGuide(ImageComparisonSettings)

    Initializes a new instance of the PixelEvaluationGuide by evaluating the different flags in the more general ImageComparisonSettings.

    Declaration
    public PixelEvaluationGuide(ImageComparisonSettings settings)
    Parameters
    Type Name Description
    ImageComparisonSettings settings

    settings that need to be converted to evaluation guide.

    Properties

    AlphaThreshold

    Gets the per-pixel alpha threshold

    Declaration
    public float AlphaThreshold { get; init; }
    Property Value
    Type Description
    float

    AverageCorrectnessThreshold

    Gets the average correctness threshold, which is the average of all deltaE values exceeding the deltaE threshold

    Declaration
    public float AverageCorrectnessThreshold { get; init; }
    Property Value
    Type Description
    float

    DeltaEThreshold

    Gets the per-pixel DeltaE Threshold

    Declaration
    public float DeltaEThreshold { get; init; }
    Property Value
    Type Description
    float

    GammaThreshold

    Gets the per-pixel GammaThreshold

    Declaration
    public float GammaThreshold { get; init; }
    Property Value
    Type Description
    float

    IncorrectPixelsThreshold

    Gets the threshold of incorrect pixels, which is the ratio of pixels above one of the settings

    Declaration
    public float IncorrectPixelsThreshold { get; init; }
    Property Value
    Type Description
    float

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Implements

    ITextureComparisonSettings
    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)