docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LegacyImageExportOptions

    Image comparison settings that have been extracted because specific to image exports.

    Inheritance
    object
    LegacyImageExportOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools.Graphics
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    public class LegacyImageExportOptions

    Properties

    ActualImageFileName

    The file name of the actual image to be exported.

    Declaration
    public string ActualImageFileName { get; set; }
    Property Value
    Type Description
    string

    FileExtension

    Whether the file is saved as png or exr. Defaults to png. Must be lower-case.

    Declaration
    public string FileExtension { get; set; }
    Property Value
    Type Description
    string

    LogMessages

    Logs the comparison message when set to true. This is here for legacy reason only

    Declaration
    public bool LogMessages { get; set; }
    Property Value
    Type Description
    bool

    SaveActualImageOnSuccess

    Saves the Actual Image even if the image comparison does not return a difference.

    Declaration
    public bool SaveActualImageOnSuccess { get; set; }
    Property Value
    Type Description
    bool

    SaveImagesOnFailure

    Whether the actual, expected and diff are all saved on failure or just the actual.

    Declaration
    public bool SaveImagesOnFailure { get; set; }
    Property Value
    Type Description
    bool

    SaveImagesToDiskOnFailure

    Whether the actual, expected and diff are all saved on failure or just the actual.

    Declaration
    public bool SaveImagesToDiskOnFailure { get; set; }
    Property Value
    Type Description
    bool
    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)