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