docs.unity3d.com
Search Results for

    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.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
    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
    int
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)