LoadScalerProfile(string)
Load a scaler profile from the settings. Unity update the values of all scalers in the profile to new ones. This is a heavy operation and should not be used per frame and only in load operations as it causes hitching and possible screen artifacts depending on which scalers are used in a scene.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public void LoadScalerProfile(string scalerProfileName)
Parameters
Supply the name of the scaler. You can query a list of available scaler profiles via IAdaptivePerformanceSettings.GetAvailableScalerProfiles.