docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TestPlatform

    Represents the platform and architecture of the test environment.

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

    Properties

    Arch

    The OS architecture of the test environment.

    Declaration
    public Architecture Arch { get; }
    Property Value
    Type Description
    Architecture

    Methods

    GetTarget()

    Returns the current test environment's platform and architecture.

    Declaration
    public static TestPlatform GetTarget()
    Returns
    Type Description
    TestPlatform

    ToString()

    Converts the TestPlatform to a unique string value.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    In This Article
    Back to top
    Copyright © 2025 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)