Class DebugUI.EnumField
Enumerator field.
Implements
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugUI.EnumField : DebugUI.Field<int>, DebugUI.IValueField
Fields
enumNames
List of names of the enumerator entries.
Declaration
public GUIContent[] enumNames
Field Value
Type | Description |
---|---|
GUIContent[] |
enumValues
List of values of the enumerator entries.
Declaration
public int[] enumValues
Field Value
Type | Description |
---|---|
int[] |
Properties
autoEnum
Generates enumerator values and names automatically based on the provided type.
Declaration
public Type autoEnum { set; }
Property Value
Type | Description |
---|---|
Type |
currentIndex
Current enumeration value index.
Declaration
public int currentIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
getIndex
Get the enumeration value index.
Declaration
public Func<int> getIndex { get; set; }
Property Value
Type | Description |
---|---|
Func<int> |
setIndex
Set the enumeration value index.
Declaration
public Action<int> setIndex { get; set; }
Property Value
Type | Description |
---|---|
Action<int> |