Struct PerformanceLevelChangeEventArgs
Arguments for the performance level change event. These are used in the Performance
Inherited Members
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 Unknown
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 Unknown
Declaration
public int GpuLevelDelta { readonly get; set; }
Property Value
Type | Description |
---|---|
int |
ManualOverride
True if the change was caused by manual adjustments to Cpu
Declaration
public bool ManualOverride { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
PerformanceControlMode
The current PerformanceControlMode. See Performance
Declaration
public PerformanceControlMode PerformanceControlMode { readonly get; set; }
Property Value
Type | Description |
---|---|
Performance |