AdaptiveFramerate
A scaler used by AdaptivePerformanceIndexer to adjust the application update rate using _targetFrameRate.
Read time 5 minutesLast updated 3 days ago
Definition
- Type: Class
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
- Inherits from: AdaptivePerformanceScaler
public class AdaptiveFramerate : AdaptivePerformanceScaler
Methods
Method | Description |
|---|---|
| Awake | Ensures settings are applied during startup. |
| OnDisabled | Callback when scaler gets disabled and removed from indexer |
| OnEnabled | Callback when scaler gets enabled and added to the indexer |
| OnLevelDecrease | Callback for when the quality level is increased/scaler level decreased. |
| OnLevelIncrease | Callback for when the quality level is decreased/scaler level increased. |
| SetFrameRate | Sets the targeted framerate for the application. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |