您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

29 行
877 B

using UnityEngine;
namespace UnityEngine.TestTools.Graphics
{
/// <summary>
/// Represents one automatically-generated graphics test case.
/// </summary>
public class GraphicsTestCase
{
private readonly string _scenePath;
private readonly Texture2D _referenceImage;
public GraphicsTestCase(string scenePath, Texture2D referenceImage)
{
_scenePath = scenePath;
_referenceImage = referenceImage;
}
/// <summary>
/// The path to the scene to be used for this test case.
/// </summary>
public string ScenePath { get { return _scenePath; } }
/// <summary>
/// The reference image that represents the expected output for this test case.
/// </summary>
public Texture2D ReferenceImage { get { return _referenceImage; } }
}
}