Class TestPlatform
Represents the platform and architecture of the test environment.
Inherited Members
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 |