docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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).

    Inheritance
    object
    ScalableSetting<T>
    BoolScalableSetting
    FloatScalableSetting
    IntScalableSetting
    RenderPipelineSettings.PlanarReflectionAtlasResolutionScalableSetting
    RenderPipelineSettings.ReflectionProbeResolutionScalableSetting
    UintScalableSetting
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 index.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)