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).
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
public class ScalableSetting<T> : ISerializationCallbackReceiver
타입 파라미터
이름 | 설명 |
---|---|
T | The type of the scalable setting. |
생성자
이름 | 설명 |
---|---|
ScalableSetting(T[], ScalableSettingSchemaId) | Build a new scalable setting. |
프로퍼티
이름 | 설명 |
---|---|
this[int] | Get the value for a specific level. |
schemaId | The schema id of this scalable setting. |
메서드
이름 | 설명 |
---|---|
TryGet(int, out T) | Get the value of the level |