Class GraphicsTestCase
Represents one automatically-generated graphics test case.
Namespace: UnityEngine.TestTools.Graphics
Syntax
public class GraphicsTestCase
Constructors
GraphicsTestCase(String, Texture2D)
Declaration
public GraphicsTestCase(string scenePath, Texture2D referenceImage)
Parameters
| Type | Name | Description |
|---|---|---|
| String | scenePath | |
| Texture2D | referenceImage |
Properties
ReferenceImage
The reference image that represents the expected output for this test case.
Declaration
public Texture2D ReferenceImage { get; }
Property Value
| Type | Description |
|---|---|
| Texture2D |
ScenePath
The path to the scene to be used for this test case.
Declaration
public string ScenePath { get; }
Property Value
| Type | Description |
|---|---|
| String |