Class ScalableSetting<T>
Define the level's value for a ScalableSettingValue<T>.
Use this setting in an asset that defines the quality settings for a specific platform. Then those settings can be used with the ScalableSettingValue<T> to get the actual value to use.
If you intend to serialize this type, use specialized version instead. (IntScalableSetting).
Implements
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public class ScalableSetting<T> : ISerializationCallbackReceiver
Type Parameters
Name | Description |
---|---|
T | The type of the scalable setting. |
Constructors
Name | Description |
---|---|
ScalableSetting(T[], ScalableSettingSchemaId) | Build a new scalable setting. |
Properties
Name | Description |
---|---|
this[int] | Get the value for a specific level. |
schemaId | The schema id of this scalable setting. |
Methods
Name | Description |
---|---|
TryGet(int, out T) | Get the value of the level |