AdaptivePerformanceIndexer
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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Class
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public class AdaptivePerformanceIndexer
Properties
Property | Description |
|---|---|
| PerformanceAction | Current determined action needed from performance state. Action StateAction.Increase will be ignored if AdaptivePerformanceIndexer.ThermalAction is decreasing. |
| ThermalAction | Current determined action needed from thermal state. Action StateAction.Increase will be ignored if AdaptivePerformanceIndexer.PerformanceAction is decreasing. |
| TimeUntilNextAction | Time left until next action. |
Methods
Method | Description |
|---|---|
| DeltaTime | Returns Time.deltaTime only and is primarily encapsulated for tests. |
| 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. |