Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PerformanceLevelChangeEventArgs

Arguments for the performance level change event. These are used in the PerformanceLevelChangeHandler.
Read time 1 minuteLast updated 6 days ago

Definition

public struct PerformanceLevelChangeEventArgs

Properties

Property

Description

CpuLevelThe new CPU level.
CpuLevelDeltaThe difference in CPU levels 0 if the previous or new level equals Constants.UnknownPerformanceLevel.
GpuLevelThe new GPU level.
GpuLevelDeltaThe difference in GPU levels. 0 if either the previous or the new level equals Constants.UnknownPerformanceLevel.
ManualOverrideTrue if the change was caused by manual adjustments to IDevicePerformanceControl.CpuLevel or IDevicePerformanceControl.GpuLevel during automatic mode, false otherwise.
PerformanceControlModeThe current PerformanceControlMode. See IDevicePerformanceControl.PerformanceControlMode.