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.
Inherited Members
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 |