docs.unity3d.com
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.AdaptivePerformance
    Syntax
    public struct PerformanceLevelChangeEventArgs

    Properties

    CpuLevel

    The new CPU level.

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

    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
    Int32

    GpuLevel

    The new GPU level.

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

    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
    Int32

    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
    Boolean

    PerformanceControlMode

    The current PerformanceControlMode. See PerformanceControlMode.

    Declaration
    public PerformanceControlMode PerformanceControlMode { readonly get; set; }
    Property Value
    Type Description
    PerformanceControlMode
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023