docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUIDrawerHistoryEnumField

    Builtin Drawer for History Enum Debug Items.

    Inheritance
    object
    DebugUIDrawer
    DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>
    DebugUIDrawerHistoryEnumField
    Inherited Members
    DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Begin(DebugUI.Widget, DebugState)
    DebugUIDrawer.OnGUI(DebugUI.Widget, DebugState)
    DebugUIDrawer.End(DebugUI.Widget, DebugState)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    [DebugUIDrawer(typeof(DebugUI.HistoryEnumField))]
    public sealed class DebugUIDrawerHistoryEnumField : DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>

    Methods

    DoGUI(Rect, GUIContent, HistoryEnumField, DebugStateEnum)

    Does the field of the given type

    Declaration
    protected override int DoGUI(Rect rect, GUIContent label, DebugUI.HistoryEnumField field, DebugStateEnum state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.HistoryEnumField field

    The field

    DebugStateEnum state

    The state

    Returns
    Type Description
    int

    The current value from the UI

    Overrides
    DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>.DoGUI(Rect, GUIContent, DebugUI.HistoryEnumField, DebugStateEnum)

    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, 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)