Class Metadata
Helper class to retrieve metadata information about player settings and hardware.
Inherited Members
Namespace: Unity.PerformanceTesting
Assembly: Unity.PerformanceTesting.dll
Syntax
public static class Metadata
Methods
GetFromResources()
Loads run from resources.
Declaration
public static Run GetFromResources()
Returns
| Type | Description |
|---|---|
| Run | Performance run data loaded from resources. |
GetHardware()
Gets hardware information.
Declaration
public static Hardware GetHardware()
Returns
| Type | Description |
|---|---|
| Hardware | Hardware information. |
SetPlayerSettings(Run)
Sets player settings.
Declaration
public static void SetPlayerSettings(Run run)
Parameters
| Type | Name | Description |
|---|---|---|
| Run | run | Run used to set settings. |
SetRuntimeSettings(Run)
Sets runtime player settings on a run.
Declaration
public static void SetRuntimeSettings(Run run)
Parameters
| Type | Name | Description |
|---|---|---|
| Run | run | Run used to set settings. |