Class DebugUI.ColorField
Color field.
Inherited Members
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<UnityEngine.Color>.ValidateValue(UnityEngine.Color)