docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.EnumField<T>

    Generic DebugUI.EnumField that stores enumNames and enumValues

    Inheritance
    object
    DebugUI.Widget
    DebugUI.Field<T>
    DebugUI.EnumField<T>
    DebugUI.BitField
    DebugUI.EnumField
    Implements
    DebugUI.IValueField
    Inherited Members
    DebugUI.Field<T>.getter
    DebugUI.Field<T>.setter
    DebugUI.Field<T>.onValueChanged
    DebugUI.Field<T>.ValidateValue(T)
    DebugUI.Field<T>.GetValue()
    DebugUI.Field<T>.SetValue(object)
    DebugUI.Field<T>.SetValue(T)
    DebugUI.Widget.m_Panel
    DebugUI.Widget.panel
    DebugUI.Widget.m_Parent
    DebugUI.Widget.parent
    DebugUI.Widget.flags
    DebugUI.Widget.displayName
    DebugUI.Widget.tooltip
    DebugUI.Widget.queryPath
    DebugUI.Widget.isEditorOnly
    DebugUI.Widget.isRuntimeOnly
    DebugUI.Widget.isInactiveInEditor
    DebugUI.Widget.isHiddenCallback
    DebugUI.Widget.isHidden
    DebugUI.Widget.GetHashCode()
    DebugUI.Widget.nameAndTooltip
    object.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Implements

    DebugUI.IValueField

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    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)