Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

PerformanceLevelChangeEventArgs

struct in UnityEngine.AdaptivePerformance

/

Implemented in:UnityEngine.AdaptivePerformanceModule

Suggest a change

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.

Close

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.

Close

Cancel

Description

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

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.