Class Constants
Constants used by Adaptive Performance.
Inherited Members
Namespace: UnityEngine .AdaptivePerformance
Assembly: Unity.AdaptivePerformance.dll
Syntax
public static class Constants
Fields
DefaultAverageFrameCount
The number of past frames that are considered to calculate average frame times.
Declaration
public const int DefaultAverageFrameCount = 100
Field Value
Type | Description |
---|---|
int | 100 |
MaxTemperatureLevel
The maximum temperature level.
See Temperature
Declaration
public const float MaxTemperatureLevel = 1
Field Value
Type | Description |
---|---|
float | 1.0 |
MinCpuPerformanceLevel
The minimum CPU level.
Used by Cpu
Declaration
public const int MinCpuPerformanceLevel = 0
Field Value
Type | Description |
---|---|
int | 0 |
MinGpuPerformanceLevel
The minimum GPU level.
Used by Gpu
Declaration
public const int MinGpuPerformanceLevel = 0
Field Value
Type | Description |
---|---|
int | 0 |
MinTemperatureLevel
The minimum temperature level.
See Temperature
Declaration
public const float MinTemperatureLevel = 0
Field Value
Type | Description |
---|---|
float | 0.0 |
UnknownPerformanceLevel
UnknownPerformanceLevel is the value of Gpu
Declaration
public const int UnknownPerformanceLevel = -1
Field Value
Type | Description |
---|---|
int | -1 |