docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Metadata

    Helper class to retrieve metadata information about player settings and hardware.

    Inheritance
    object
    Metadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    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)