docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerVector4Field

    Builtin Drawer for Vector4 Debug Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIFieldDrawer<Vector4, DebugUI.Vector4Field, DebugStateVector4>
    DebugUIDrawerVector4Field
    Inherited Members
    DebugUIFieldDrawer<Vector4, DebugUI.Vector4Field, DebugStateVector4>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Vector4, DebugUI.Vector4Field, DebugStateVector4>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Vector4, DebugUI.Vector4Field, DebugStateVector4>.DoGUI(Rect, GUIContent, DebugUI.Vector4Field, DebugStateVector4)
    DebugUIFieldDrawer<Vector4, DebugUI.Vector4Field, DebugStateVector4>.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Cast<T>(Object)
    DebugUIDrawer.Begin(DebugUI.Widget, DebugState)
    DebugUIDrawer.OnGUI(DebugUI.Widget, DebugState)
    DebugUIDrawer.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Apply(DebugUI.IValueField, DebugState, Object)
    DebugUIDrawer.PrepareControlRect(Single, Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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)

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023