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