AdaptivePerformanceNormalModeProvider
The default operation mode that prioritizes the highest achievable frame rate.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
- Implements: IAdaptivePerformanceModeProvider
public class AdaptivePerformanceNormalModeProvider : IAdaptivePerformanceModeProvider
Remarks
Normal mode adjusts scalers based only on the device's thermal and performance state. It's the active mode unless you switch to another mode through IOperationModeStatus.CurrentOperationalModeProvider.
Constructors
Constructor | Description |
|---|---|
| AdaptivePerformanceNormalModeProvider() | Initializes a new instance of the AdaptivePerformanceNormalModeProvider class. |
Properties
Property | Description |
|---|---|
| CpuUtilizationAction | The action the mode applies in response to the device's CPU utilization data. |
| GpuUtilizationAction | The action the mode applies in response to the device's GPU utilization data. |
| Indexer | The Indexer that this mode adjusts scalers through. |
| ModeName | The name of the operation mode. |
| PerformanceAction | The action the mode applies in response to the device's performance state. |
| Settings | The active Adaptive Performance settings. |
| ThermalAction | The action the mode applies in response to the device's thermal state. |
Methods
Method | Description |
|---|---|
| ApplyModeActions | Applies normal mode's thermal and performance actions to the active scalers. Adaptive Performance calls this method every frame while normal mode is active. |
| OnOperationModeEnd | Called when normal mode is replaced by another operation mode. |
| OnOperationModeStart | Called when normal mode becomes the active operation mode. |