docs.unity.cn
    Show / Hide Table of Contents

    Class ScalableSettingSchema

    Defines the number of levels and the level names for a scalable setting.

    This class is intended to be immutable. As it is a reference type, a schema should be instantiated only once and used as reference everywhere.

    Inheritance
    Object
    ScalableSettingSchema
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public class ScalableSettingSchema

    Constructors

    ScalableSettingSchema(GUIContent[])

    Instantiate a new schema.

    Declaration
    public ScalableSettingSchema(GUIContent[] levelNames)
    Parameters
    Type Name Description
    GUIContent[] levelNames

    The names of each level.

    Fields

    levelNames

    The names of the levels.

    Declaration
    public readonly GUIContent[] levelNames
    Field Value
    Type Description
    GUIContent[]

    Properties

    levelCount

    The number of levels.

    Declaration
    public int levelCount { get; }
    Property Value
    Type Description
    Int32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021