docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerBitField

    Builtin Drawer for Bitfield Debug Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIFieldDrawer<Enum, DebugUI.BitField, DebugStateFlags>
    DebugUIDrawerBitField
    Inherited Members
    DebugUIFieldDrawer<Enum, DebugUI.BitField, DebugStateFlags>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Enum, DebugUI.BitField, DebugStateFlags>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Enum, DebugUI.BitField, DebugStateFlags>.DoGUI(Rect, GUIContent, DebugUI.BitField, DebugStateFlags)
    DebugUIFieldDrawer<Enum, DebugUI.BitField, DebugStateFlags>.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Cast<T>(Object)
    DebugUIDrawer.Begin(DebugUI.Widget, DebugState)
    DebugUIDrawer.OnGUI(DebugUI.Widget, DebugState)
    DebugUIDrawer.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Apply(DebugUI.IValueField, DebugState, Object)
    DebugUIDrawer.PrepareControlRect(Single, Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    [DebugUIDrawer(typeof(DebugUI.BitField))]
    public sealed class DebugUIDrawerBitField : DebugUIFieldDrawer<Enum, DebugUI.BitField, DebugStateFlags>

    Methods

    DoGUI(Rect, GUIContent, DebugUI.BitField, DebugStateFlags)

    Does the field of the given type

    Declaration
    protected override Enum DoGUI(Rect rect, GUIContent label, DebugUI.BitField field, DebugStateFlags state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.BitField field

    The field

    DebugStateFlags state

    The state

    Returns
    Type Description
    Enum

    The current value from the UI

    Overrides
    UnityEditor.Rendering.DebugUIFieldDrawer<System.Enum, UnityEngine.Rendering.DebugUI.BitField, UnityEditor.Rendering.DebugStateFlags>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.BitField, UnityEditor.Rendering.DebugStateFlags)

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 31 July 2023