文档

Unity Engine

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 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.
阅读时间1 分钟最后更新于 1 个月前

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.