docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUI.FloatField

    A slider for a float.

    Inheritance
    Object
    DebugUI.Widget
    DebugUI.Field<Single>
    DebugUI.FloatField
    Inherited Members
    DebugUI.Field<Single>.getter
    DebugUI.Field<Single>.setter
    DebugUI.Field<Single>.onValueChanged
    DebugUI.Field<Single>.DebugUI.IValueField.ValidateValue(Object)
    DebugUI.Field<Single>.DebugUI.IValueField.GetValue()
    DebugUI.Field<Single>.GetValue()
    DebugUI.Field<Single>.SetValue(Object)
    DebugUI.Field<Single>.SetValue(Single)
    DebugUI.Widget.m_Panel
    DebugUI.Widget.panel
    DebugUI.Widget.m_Parent
    DebugUI.Widget.parent
    DebugUI.Widget.flags
    DebugUI.Widget.displayName
    DebugUI.Widget.tooltip
    DebugUI.Widget.queryPath
    DebugUI.Widget.isEditorOnly
    DebugUI.Widget.isRuntimeOnly
    DebugUI.Widget.isInactiveInEditor
    DebugUI.Widget.isHiddenCallback
    DebugUI.Widget.isHidden
    DebugUI.Widget.GetHashCode()
    DebugUI.Widget.nameAndTooltip
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    Syntax
    public class FloatField : DebugUI.Field<float>, DebugUI.IValueField

    Fields

    decimals

    Number of decimals.

    Declaration
    public int decimals
    Field Value
    Type Description
    Int32

    incStep

    Step increment.

    Declaration
    public float incStep
    Field Value
    Type Description
    Single

    incStepMult

    Step increment multiplier.

    Declaration
    public float incStepMult
    Field Value
    Type Description
    Single

    max

    Maximum value function.

    Declaration
    public Func<float> max
    Field Value
    Type Description
    Func<Single>

    min

    Minimum value function.

    Declaration
    public Func<float> min
    Field Value
    Type Description
    Func<Single>

    Methods

    ValidateValue(Single)

    Function used to validate the value when updating the field.

    Declaration
    public override float ValidateValue(float value)
    Parameters
    Type Name Description
    Single value

    Input value.

    Returns
    Type Description
    Single

    Validated value.

    Overrides
    UnityEngine.Rendering.DebugUI.Field<System.Single>.ValidateValue(System.Single)

    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