Unity - Scripting API: PerformanceLevelChangeEventArgs
struct in UnityEngine.AdaptivePerformance
/
Implemented in:UnityEngine.AdaptivePerformanceModule
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Properties
| Property | Description |
|---|---|
| CpuLevel | The new CPU level. |
| CpuLevelDelta | The difference in CPU levels 0 if the previous or new level equals Constants.UnknownPerformanceLevel. |
| GpuLevel | The new GPU level. |
| GpuLevelDelta | The difference in GPU levels. 0 if either the previous or the new level equals Constants.UnknownPerformanceLevel. |
| ManualOverride | True if the change was caused by manual adjustments to IDevicePerformanceControl.CpuLevel or IDevicePerformanceControl.GpuLevel during automatic mode, false otherwise. |
| PerformanceControlMode | The current PerformanceControlMode. See IDevicePerformanceControl.PerformanceControlMode. |