Class DebugUIDrawerVector4Field
Builtin Drawer for Vector4 Debug Items.
Inheritance
DebugUIDrawerVector4Field
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
[DebugUIDrawer(typeof(DebugUI.Vector4Field))]
public sealed class DebugUIDrawerVector4Field : DebugUIFieldDrawer<Vector4, DebugUI.Vector4Field, DebugStateVector4>
Methods
DoGUI(Rect, GUIContent, DebugUI.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 |
Overrides
UnityEditor.Rendering.DebugUIFieldDrawer<UnityEngine.Vector4, UnityEngine.Rendering.DebugUI.Vector4Field, UnityEditor.Rendering.DebugStateVector4>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.Vector4Field, UnityEditor.Rendering.DebugStateVector4)