Class DebugUIDrawerHistoryBoolField
Builtin Drawer for History Boolean Debug Items.
Inheritance
DebugUIDrawerHistoryBoolField
Inherited Members
DebugUIFieldDrawer<bool, DebugUI.HistoryBoolField, DebugStateBool>.Begin(DebugUI.Widget, DebugState)
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[DebugUIDrawer(typeof(DebugUI.HistoryBoolField))]
public sealed class DebugUIDrawerHistoryBoolField : DebugUIFieldDrawer<bool, DebugUI.HistoryBoolField, DebugStateBool>
Methods
DoGUI(Rect, GUIContent, HistoryBoolField, DebugStateBool)
Does the field of the given type
Declaration
protected override bool DoGUI(Rect rect, GUIContent label, DebugUI.HistoryBoolField field, DebugStateBool state)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | The rect to draw the field |
| GUIContent | label | The label for the field |
| DebugUI.HistoryBoolField | field | The field |
| DebugStateBool | state | The state |
Returns
| Type | Description |
|---|---|
| bool | The current value from the UI |