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

AdaptivePerformanceIndexer

class 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

Higher level implementation of Adaptive performance that tracks performance and thermal states of the device and provides them to AdaptivePerformanceScaler which use the information to increase or decrease performance levels. System acts as AdaptivePerformanceScaler manager and handles the lifetime of the scalers in the scenes.

Properties

Property Description
PerformanceAction Current determined action needed from performance state. Action StateAction.Increase will be ignored if ThermalAction is decreasing.
ThermalAction Current determined action needed from thermal state. Action StateAction.Increase will be ignored if PerformanceAction is decreasing.
TimeUntilNextAction Time left until next action.

Public Methods

Method Description
GetAllRegisteredScalers Returns all scalers independent of their state.
GetAppliedScalers Returns all currently applied scalers.
GetDisabledScalers Returns all currently disabled scalers.
GetUnappliedScalers Returns all currently unapplied scalers.
UnapplyAllScalers Unapply all currently active scalers.

Protected Methods

Method Description
DeltaTime Returns Time.deltaTime only and is primarily encapsulated for tests.