docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUIFieldDrawer<TValue, TField, TState>

    Common class to help drawing fields

    Inheritance
    object
    DebugUIDrawer
    DebugUIFieldDrawer<TValue, TField, TState>
    DebugUIDrawerBitField
    DebugUIDrawerBoolField
    DebugUIDrawerColorField
    DebugUIDrawerEnumField
    DebugUIDrawerFloatField
    DebugUIDrawerHistoryBoolField
    DebugUIDrawerHistoryEnumField
    DebugUIDrawerIntField
    DebugUIDrawerObjectField
    DebugUIDrawerObjectPopupField
    DebugUIDrawerUIntField
    DebugUIDrawerVector2Field
    DebugUIDrawerVector3Field
    DebugUIDrawerVector4Field
    Inherited Members
    DebugUIDrawer.Cast<T>(object)
    DebugUIDrawer.Apply(DebugUI.IValueField, DebugState, object)
    DebugUIDrawer.PrepareControlRect(float, bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public abstract class DebugUIFieldDrawer<TValue, TField, TState> : DebugUIDrawer where TField : DebugUI.Field<TValue> where TState : DebugState
    Type Parameters
    Name Description
    TValue

    The internal value of the field

    TField

    The type of the field widget

    TState

    The state of the field

    Methods

    Name Description
    Begin(Widget, DebugState)

    Implement this to execute processing before UI rendering.

    DoGUI(Rect, GUIContent, TField, TState)

    Does the field of the given type

    End(Widget, DebugState)

    Implement this to execute processing after UI rendering.

    OnGUI(Widget, DebugState)

    Implement this to execute UI rendering.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)