docs.unity3d.com
    显示 / 隐藏目录

    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
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)