# AdaptivePerformanceScaler

> Abstract class representing single feature that is controlled by AdaptivePerformanceIndexer. You control the quality through changing the levels, where 0 represents the controller not being applied and 1,2... as applied. As a result, a higher level represents lower visuals, but better performance.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.AdaptivePerformance](/engine/6000.3/script-reference/unityengine/adaptiveperformance.md)
* **Assembly:** UnityEngine.AdaptivePerformanceModule
* **Inherits from:** [ScriptableObject](/engine/6000.3/script-reference/unityengine/scriptableobject.md)

```csharp
public abstract class AdaptivePerformanceScaler : ScriptableObject
```

## Fields

| Value                                                                                                                  | Description                         |
| ---------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [m\_Settings](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/m-settings.md) | Settings reference for all scalers. |

## Properties

| Property                                                                                                                      | Description                                                                                                                                                                                                                                                                     |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CpuImpact](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/cpuimpact.md)           | Scaler impact on CPU so far in milliseconds.                                                                                                                                                                                                                                    |
| [CurrentLevel](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/currentlevel.md)     | Returns the current level of scale.                                                                                                                                                                                                                                             |
| [DefaultSetting](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/defaultsetting.md) | Default settings for this scaler.                                                                                                                                                                                                                                               |
| [Enabled](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/enabled.md)               | Returns `true` if this scaler is active, otherwise returns `false`.                                                                                                                                                                                                             |
| [GpuImpact](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/gpuimpact.md)           | Scaler impact on GPU so far in milliseconds.                                                                                                                                                                                                                                    |
| [IsMaxLevel](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/ismaxlevel.md)         | Returns `true` if the scaler can no longer be applied, otherwise returns `false`.                                                                                                                                                                                               |
| [MaxBound](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/maxbound.md)             | Returns the maximum boundary of this scaler.                                                                                                                                                                                                                                    |
| [MaxLevel](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/maxlevel.md)             | Returns the maximum level of this scaler.                                                                                                                                                                                                                                       |
| [MinBound](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/minbound.md)             | Returns the minimum boundary of this scaler.                                                                                                                                                                                                                                    |
| [Name](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/name.md)                     | Returns a string with the name of the scaler.                                                                                                                                                                                                                                   |
| [NotLeveled](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/notleveled.md)         | Returns `true` if the scaler is not applied, otherwise returns `false`.                                                                                                                                                                                                         |
| [OverrideLevel](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/overridelevel.md)   | Allows you to manually override the scaler level. If the value is -1, [AdaptivePerformanceIndexer](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformanceindexer.md) will handle levels, otherwise scaler will be forced to the value you specify. |
| [Scale](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/scale.md)                   | Returns a generic scale of this scaler in range \[0,1] which is applied to the quality.                                                                                                                                                                                         |
| [Target](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/target.md)                 | Returns the bottlenecks that this scaler targets.                                                                                                                                                                                                                               |
| [VisualImpact](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/visualimpact.md)     | Returns the visual impact of scaler when applied.                                                                                                                                                                                                                               |

## Methods

| Method                                                                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ApplyDefaultSetting](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/applydefaultsetting.md) | Any scaler with settings in [IAdaptivePerformanceSettings](/engine/6000.3/script-reference/unityengine/adaptiveperformance/iadaptiveperformancesettings.md) needs to call this method and provide the scaler specific setting. Unity uses the setting arguments in the base-scaler as the default settings. This is also used by Scaler Profiles to apply their Settings. |
| [Awake](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/awake.md)                             | Ensures settings are applied during startup.                                                                                                                                                                                                                                                                                                                              |
| [CalculateCost](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/calculatecost.md)             | Calculate the cost of applying this particular scaler.                                                                                                                                                                                                                                                                                                                    |
| [OnDisabled](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/ondisabled.md)                   | Callback when scaler gets disabled and removed from indexer                                                                                                                                                                                                                                                                                                               |
| [OnEnabled](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/onenabled.md)                     | Callback when scaler gets enabled and added to the indexer                                                                                                                                                                                                                                                                                                                |
| [OnLevel](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/onlevel.md)                         | Callback for any level change                                                                                                                                                                                                                                                                                                                                             |
| [OnLevelDecrease](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/onleveldecrease.md)         | Callback for when the performance level is decreased.                                                                                                                                                                                                                                                                                                                     |
| [OnLevelIncrease](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/onlevelincrease.md)         | Callback for when the performance level is increased.                                                                                                                                                                                                                                                                                                                     |
| [ScaleChanged](/engine/6000.3/script-reference/unityengine/adaptiveperformance/adaptiveperformancescaler/scalechanged.md)               | Checks if scale changed based on the current level and returns true if scale changed false otherwise.                                                                                                                                                                                                                                                                     |

## Inheritance

**Inherited Members:**

* [ScriptableObject.CreateInstance(string)](/engine/6000.3/script-reference/unityengine/scriptableobject/createinstance.md#createinstance\(string\))
* [ScriptableObject.CreateInstance(Type)](/engine/6000.3/script-reference/unityengine/scriptableobject/createinstance.md#createinstance\(type\))
* [ScriptableObject.CreateInstance\<T>()](/engine/6000.3/script-reference/unityengine/scriptableobject/createinstance.md)
* [Object.GetInstanceID()](/engine/6000.3/script-reference/unityengine/object/getinstanceid.md)
* [Object.GetHashCode()](/engine/6000.3/script-reference/unityengine/object/gethashcode.md)
* [Object.InstantiateAsync\<T>(T)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform, Vector3, Quaternion)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, InstantiateParameters, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, InstantiateParameters, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, InstantiateParameters, CancellationToken)](/engine/6000.3/script-reference/unityengine/object/instantiateasync.md)
* [Object.Instantiate(Object, Vector3, Quaternion)](/engine/6000.3/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion\))
* [Object.Instantiate(Object, Vector3, Quaternion, Transform)](/engine/6000.3/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion-transform\))
* [Object.Instantiate(Object)](/engine/6000.3/script-reference/unityengine/object/instantiate.md#instantiate\(object\))
* [Object.Instantiate(Object, Scene)](/engine/6000.3/script-reference/unityengine/object/instantiate.md#instantiate\(object-scene\))
* [Object.Instantiate\<T>(T, InstantiateParameters)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, InstantiateParameters)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate(Object, Transform)](/engine/6000.3/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform\))
* [Object.Instantiate(Object, Transform, bool)](/engine/6000.3/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform-bool\))
* [Object.Instantiate\<T>(T)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, Transform)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform, bool)](/engine/6000.3/script-reference/unityengine/object/instantiate.md)
* [Object.Destroy(Object, float)](/engine/6000.3/script-reference/unityengine/object/destroy.md)
* [Object.DestroyImmediate(Object, bool)](/engine/6000.3/script-reference/unityengine/object/destroyimmediate.md)
* [Object.FindObjectsByType(Type, FindObjectsSortMode)](/engine/6000.3/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type-findobjectssortmode\))
* [Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)](/engine/6000.3/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type-findobjectsinactive-findobjectssortmode\))
* [Object.DontDestroyOnLoad(Object)](/engine/6000.3/script-reference/unityengine/object/dontdestroyonload.md)
* [Object.FindObjectsByType\<T>(FindObjectsSortMode)](/engine/6000.3/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(findobjectssortmode\))
* [Object.FindObjectsByType\<T>(FindObjectsInactive, FindObjectsSortMode)](/engine/6000.3/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(findobjectsinactive-findobjectssortmode\))
* [Object.FindFirstObjectByType\<T>()](/engine/6000.3/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytypet\(\))
* [Object.FindAnyObjectByType\<T>()](/engine/6000.3/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(\))
* [Object.FindFirstObjectByType\<T>(FindObjectsInactive)](/engine/6000.3/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytypet\(findobjectsinactive\))
* [Object.FindAnyObjectByType\<T>(FindObjectsInactive)](/engine/6000.3/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(findobjectsinactive\))
* [Object.FindFirstObjectByType(Type)](/engine/6000.3/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytype\(type\))
* [Object.FindAnyObjectByType(Type)](/engine/6000.3/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type\))
* [Object.FindFirstObjectByType(Type, FindObjectsInactive)](/engine/6000.3/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytype\(type-findobjectsinactive\))
* [Object.FindAnyObjectByType(Type, FindObjectsInactive)](/engine/6000.3/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type-findobjectsinactive\))
* [Object.ToString()](/engine/6000.3/script-reference/unityengine/object/tostring.md)
* [Object.name](/engine/6000.3/script-reference/unityengine/object/name.md)
* [Object.hideFlags](/engine/6000.3/script-reference/unityengine/object/hideflags.md)

### Operators

| Operator                                                                           | Description                                                             |
| ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [operator ==](/engine/6000.3/script-reference/unityengine/object/op-equality.md)   | Compares two object references to see if they refer to the same object. |
| [bool](/engine/6000.3/script-reference/unityengine/object/op-implicit.md)          | Determines whether the object exists.                                   |
| [operator !=](/engine/6000.3/script-reference/unityengine/object/op-inequality.md) | Compares if two objects refer to a different object.                    |
