Class DebugUI.ColorField | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class DebugUI.ColorField

    Color field.

    Inheritance
    Object
    DebugUI.Widget
    DebugUI.Field<Color>
    DebugUI.ColorField
    Inherited Members
    DebugUI.Field<Color>.getter
    DebugUI.Field<Color>.setter
    DebugUI.Field<Color>.onValueChanged
    DebugUI.Field<Color>.DebugUI.IValueField.ValidateValue(Object)
    DebugUI.Field<Color>.DebugUI.IValueField.GetValue()
    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.queryPath
    DebugUI.Widget.isEditorOnly
    DebugUI.Widget.isRuntimeOnly
    DebugUI.Widget.isInactiveInEditor
    DebugUI.Widget.GetHashCode()
    Namespace: UnityEngine.Rendering
    Syntax
    public class ColorField : DebugUI.Field<Color>, DebugUI.IValueField

    Fields

    decimals

    Number of decimals.

    Declaration
    public int decimals
    Field Value
    Type Description
    Int32

    hdr

    HDR color.

    Declaration
    public bool hdr
    Field Value
    Type Description
    Boolean

    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

    showAlpha

    Show alpha of the color field.

    Declaration
    public bool showAlpha
    Field Value
    Type Description
    Boolean

    showPicker

    Show the color picker.

    Declaration
    public bool showPicker
    Field Value
    Type Description
    Boolean

    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
    UnityEngine.Rendering.DebugUI.Field<Color>.ValidateValue(Color)
    In This Article
    • Fields
      • decimals
      • hdr
      • incStep
      • incStepMult
      • showAlpha
      • showPicker
    • Methods
      • ValidateValue(Color)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023