docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerFloatField

    Builtin Drawer for Float Debug Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIFieldDrawer<Single, DebugUI.FloatField, DebugStateFloat>
    DebugUIDrawerFloatField
    Inherited Members
    DebugUIFieldDrawer<Single, DebugUI.FloatField, DebugStateFloat>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Single, DebugUI.FloatField, DebugStateFloat>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Single, DebugUI.FloatField, DebugStateFloat>.DoGUI(Rect, GUIContent, DebugUI.FloatField, DebugStateFloat)
    DebugUIFieldDrawer<Single, DebugUI.FloatField, DebugStateFloat>.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.FloatField))]
    public sealed class DebugUIDrawerFloatField : DebugUIFieldDrawer<float, DebugUI.FloatField, DebugStateFloat>

    Methods

    DoGUI(Rect, GUIContent, DebugUI.FloatField, DebugStateFloat)

    Does the field of the given type

    Declaration
    protected override float DoGUI(Rect rect, GUIContent label, DebugUI.FloatField field, DebugStateFloat state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.FloatField field

    The field

    DebugStateFloat state

    The state

    Returns
    Type Description
    Single

    The current value from the UI

    Overrides
    UnityEditor.Rendering.DebugUIFieldDrawer<System.Single, UnityEngine.Rendering.DebugUI.FloatField, UnityEditor.Rendering.DebugStateFloat>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.FloatField, UnityEditor.Rendering.DebugStateFloat)

    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 08 September 2023