Class DebugUIHandlerColor
DebugUIHandler for color widget.
Inheritance
DebugUIHandlerColor
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Rendering.UI
Syntax
public class DebugUIHandlerColor : DebugUIHandlerWidget
Fields
colorImage
Color image.
Declaration
public Image colorImage
Field Value
Type | Description |
---|---|
Image |
fieldA
Alpha float field.
Declaration
public DebugUIHandlerIndirectFloatField fieldA
Field Value
Type | Description |
---|---|
DebugUIHandlerIndirectFloatField |
fieldB
Blue float field.
Declaration
public DebugUIHandlerIndirectFloatField fieldB
Field Value
Type | Description |
---|---|
DebugUIHandlerIndirectFloatField |
fieldG
Green float field.
Declaration
public DebugUIHandlerIndirectFloatField fieldG
Field Value
Type | Description |
---|---|
DebugUIHandlerIndirectFloatField |
fieldR
Red float field.
Declaration
public DebugUIHandlerIndirectFloatField fieldR
Field Value
Type | Description |
---|---|
DebugUIHandlerIndirectFloatField |
nameLabel
Name of the widget.
Declaration
public Text nameLabel
Field Value
Type | Description |
---|---|
Text |
valueToggle
///
Declaration
public UIFoldout valueToggle
Field Value
Type | Description |
---|---|
UIFoldout |
Methods
Next()
Next implementation.
Declaration
public override DebugUIHandlerWidget Next()
Returns
Type | Description |
---|---|
DebugUIHandlerWidget | Next child. |
Overrides
OnAction()
OnAction implementation.
Declaration
public override void OnAction()
Overrides
OnDecrement(Boolean)
OnDecrement implementation.
Declaration
public override void OnDecrement(bool fast)
Parameters
Type | Name | Description |
---|---|---|
Boolean | fast | Trye if decrementing fast. |
Overrides
OnDeselection()
OnDeselection implementation.
Declaration
public override void OnDeselection()
Overrides
OnIncrement(Boolean)
OnIncrement implementation.
Declaration
public override void OnIncrement(bool fast)
Parameters
Type | Name | Description |
---|---|---|
Boolean | fast | True if incrementing fast. |
Overrides
OnSelection(Boolean, DebugUIHandlerWidget)
OnSelection implementation.
Declaration
public override bool OnSelection(bool fromNext, DebugUIHandlerWidget previous)
Parameters
Type | Name | Description |
---|---|---|
Boolean | fromNext | True if the selection wrapped around. |
DebugUIHandlerWidget | previous | Previous widget. |
Returns
Type | Description |
---|---|
Boolean | State of the widget. |