Class IAdaptivePerformanceSettings
Provider Settings Interface as base class of the provider. Used to control the Editor runtime asset instance which stores the Settings.
Inherited Members
Namespace: UnityEngine.AdaptivePerformance
Syntax
public class IAdaptivePerformanceSettings : ScriptableObject
Properties
automaticPerformanceMode
The initial value of AutomaticPerformanceControl.
Declaration
public bool automaticPerformanceMode { get; set; }
Property Value
Type | Description |
---|---|
Boolean | Set this to true to enable Automatic Performance Mode, or false to disable it. It is true by default. |
indexerSettings
Settings of indexer system.
Declaration
public AdaptivePerformanceIndexerSettings indexerSettings { get; set; }
Property Value
Type | Description |
---|---|
AdaptivePerformanceIndexerSettings |
logging
Control debug logging. This setting only affects development builds. All logging is disabled in release builds. This setting can also be controlled after startup using Logging. Logging is disabled by default.
Declaration
public bool logging { get; set; }
Property Value
Type | Description |
---|---|
Boolean | Set this to true to enable debug logging, or false to disable it. It is false by default. |
scalerSettings
Settings of scaler system.
Declaration
public AdaptivePerformanceScalerSettings scalerSettings { get; set; }
Property Value
Type | Description |
---|---|
AdaptivePerformanceScalerSettings |
statsLoggingFrequencyInFrames
Adjust the frequency in frames at which the application logs frame statistics to the console. This is only relevant when logging is enabled. See Logging. This setting can also be controlled after startup using LoggingFrequencyInFrames.
Declaration
public int statsLoggingFrequencyInFrames { get; set; }
Property Value
Type | Description |
---|---|
Int32 | Logging frequency in frames (default: 50) |