docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.ColorField

    Color field.

    Inheritance
    object
    DebugUI.Widget
    DebugUI.Field<Color>
    DebugUI.ColorField
    Implements
    DebugUI.IValueField
    Inherited Members
    DebugUI.Field<Color>.getter
    DebugUI.Field<Color>.setter
    DebugUI.Field<Color>.onValueChanged
    DebugUI.Field<Color>.GetValue()
    DebugUI.Field<Color>.SetValue(object)
    DebugUI.Field<Color>.SetValue(Color)
    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.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class DebugUI.ColorField : DebugUI.Field<Color>, DebugUI.IValueField

    Fields

    decimals

    Number of decimals.

    Declaration
    public int decimals
    Field Value
    Type Description
    int

    hdr

    HDR color.

    Declaration
    public bool hdr
    Field Value
    Type Description
    bool

    incStep

    Step increment.

    Declaration
    public float incStep
    Field Value
    Type Description
    float

    incStepMult

    Step increment multiplier.

    Declaration
    public float incStepMult
    Field Value
    Type Description
    float

    showAlpha

    Show alpha of the color field.

    Declaration
    public bool showAlpha
    Field Value
    Type Description
    bool

    showPicker

    Show the color picker.

    Declaration
    public bool showPicker
    Field Value
    Type Description
    bool

    Methods

    ValidateValue(Color)

    Function used to validate the value when updating the field.

    Declaration
    public override Color ValidateValue(Color value)
    Parameters
    Type Name Description
    Color value

    Input value.

    Returns
    Type Description
    Color

    Validated value.

    Overrides
    DebugUI.Field<Color>.ValidateValue(Color)

    Implements

    DebugUI.IValueField

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)