Class GraphicsTestCase | Graphics Tests Framework | 7.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphicsTestCase

    Represents one automatically-generated graphics test case.

    Inheritance
    Object
    GraphicsTestCase
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023