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