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
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 September 2023