Class DebugUI.EnumField<T>
Generic DebugUI.EnumField that stores enumNames and enumValues
Implements
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public abstract class DebugUI.EnumField<T> : DebugUI.Field<T>, DebugUI.IValueField
Type Parameters
Name | Description |
---|---|
T | The inner type of the field |
Fields
enumNames
List of names of the enumerator entries.
Declaration
public GUIContent[] enumNames
Field Value
Type | Description |
---|---|
GUIContent[] |
Properties
enumValues
List of values of the enumerator entries.
Declaration
public int[] enumValues { get; set; }
Property Value
Type | Description |
---|---|
int[] |
Methods
AutoFillFromType(Type)
Automatically fills the enum names with a given Type
Declaration
protected void AutoFillFromType(Type enumType)
Parameters
Type | Name | Description |
---|---|---|
Type | enumType | The enum type |