Class LegacyImageExportOptions
Image comparison settings that have been extracted because specific to image exports.
Inherited Members
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 |