docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PerformanceLevelChangeEventArgs

    Arguments for the performance level change event. These are used in the PerformanceLevelChangeHandler.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.AdaptivePerformance
    Assembly: Unity.AdaptivePerformance.dll
    Syntax
    public struct PerformanceLevelChangeEventArgs

    Properties

    CpuLevel

    The new CPU level.

    Declaration
    public int CpuLevel { readonly get; set; }
    Property Value
    Type Description
    int

    CpuLevelDelta

    The difference in CPU levels 0 if the previous or new level equals UnknownPerformanceLevel.

    Declaration
    public int CpuLevelDelta { readonly get; set; }
    Property Value
    Type Description
    int

    GpuLevel

    The new GPU level.

    Declaration
    public int GpuLevel { readonly get; set; }
    Property Value
    Type Description
    int

    GpuLevelDelta

    The difference in GPU levels. 0 if either the previous or the new level equals UnknownPerformanceLevel.

    Declaration
    public int GpuLevelDelta { readonly get; set; }
    Property Value
    Type Description
    int

    ManualOverride

    True if the change was caused by manual adjustments to CpuLevel or GpuLevel during automatic mode, false otherwise.

    Declaration
    public bool ManualOverride { readonly get; set; }
    Property Value
    Type Description
    bool

    PerformanceControlMode

    The current PerformanceControlMode. See PerformanceControlMode.

    Declaration
    public PerformanceControlMode PerformanceControlMode { readonly get; set; }
    Property Value
    Type Description
    PerformanceControlMode
    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)