Struct PerformanceLevelChangeEventArgs
Arguments for the performance level change event. These are used in the PerformanceLevelChangeHandler.
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 |