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

    Constructors

    TestPlatform(RuntimePlatform, Architecture)

    Declaration
    public TestPlatform(RuntimePlatform platform, Architecture architecture)
    Parameters
    Type Name Description
    RuntimePlatform platform
    Architecture architecture

    Properties

    Arch

    The OS architecture of the test environment.

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

    Platform

    The runtime platform value of the test environment.

    Declaration
    public RuntimePlatform Platform { get; }
    Property Value
    Type Description
    RuntimePlatform

    Methods

    GetCurrent()

    Returns the current test environment's platform and architecture.

    Declaration
    public static TestPlatform GetCurrent()
    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 © 2024 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)