Class DebugUIDrawerBitField
Builtin Drawer for Bitfield Debug Items.
Inheritance
DebugUIDrawerBitField
Inherited Members
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)