Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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 using reflection 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 12 days ago

Definition

public void LoadScalerProfile(string scalerProfileName)

Parameters

scalerProfileName

Supply the name of the scaler. You can query a list of available scaler profiles via IAdaptivePerformanceSettings.GetAvailableScalerProfiles.