Interface IAdaptivePerformance
The main interface to access Adaptive Performance. None of the properties in this interface change after startup. This means the references returned by the properties may be cached by the user.
Namespace: UnityEngine.AdaptivePerformance
Syntax
public interface IAdaptivePerformance
Properties
Active
Returns true if Adaptive Performance was initialized successfully, false otherwise.
This means that Adaptive Performance is enabled in StartupSettings and the application runs on a device that supports Adaptive Performance.
Declaration
bool Active { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
DevelopmentSettings
Access to development (logging) settings.
Declaration
IDevelopmentSettings DevelopmentSettings { get; }
Property Value
| Type | Description |
|---|---|
| IDevelopmentSettings | Interface to control CPU and GPU performance levels of the device |
DevicePerformanceControl
Control CPU and GPU performance of the device.
Declaration
IDevicePerformanceControl DevicePerformanceControl { get; }
Property Value
| Type | Description |
|---|---|
| IDevicePerformanceControl | Interface to control CPU and GPU performance levels of the device |
PerformanceStatus
Access performance status information of the device and your application.
Declaration
IPerformanceStatus PerformanceStatus { get; }
Property Value
| Type | Description |
|---|---|
| IPerformanceStatus | Interface to access performance status information of the device and your application |
ThermalStatus
Access thermal status information of the device.
Declaration
IThermalStatus ThermalStatus { get; }
Property Value
| Type | Description |
|---|---|
| IThermalStatus | Interface to access thermal status information of the device |