Component image 
Legacy Color Dialog component as seen in the Scene Inspector

The LegacyColorDialog component is used in old Legacy content that was migrated and was used to pick colors for color fields. This component should not be used and should be replaced whenever possible.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Realtime
|
Bool | Whether this component should instantly update the value of the target field in TargetField
|
TargetField
|
direct RelayRef`1<IField`1<ColorX>> | The color field this component is editing. |
_originalColor
|
ColorX | The original color value TargetField 's target field had before editing.
|
_hue
|
Float | The current selected color hue. |
_saturation
|
Float | The current selected color saturation. |
_value
|
Float | The current selected color value. |
_alpha
|
Float | The current selected color transparency. |
_profile
|
ColorProfile | The current selected color profile. |
_gain
|
Float | The current selected color gain. |
_rSlider
|
LegacySlider | The slider to change the red of the color with. |
_gSlider
|
LegacySlider | The slider to change the green of the color with. |
_bSlider
|
LegacySlider | The slider to change the blue of the color with. |
_aSlider
|
LegacySlider | The slider to change the transparency/alpha of the color with. |
_gainSlider
|
LegacySlider | The slider to change the gain of the color with. |
_rValue
|
field drive of Float | The field to drive with the current selected red value. |
_gValue
|
field drive of Float | The field to drive with the current selected green value. |
_bValue
|
field drive of Float | The field to drive with the current selected blue value. |
_aValue
|
field drive of Float | The field to drive with the current selected transparency/alpha value. |
_gainValue
|
field drive of Float | The field to drive with the current selected gain value. |
_colorWheelMesh
|
ColorWheelTriangleMesh | The triangle color mesh for this UI. |
_okButton
|
LegacyButton | The button that when pressed applies the selected color and closes the UI. |
_cancelButton
|
LegacyButton | The button that when pressed reverts the value of the targeted field in TargetField to _originalColor and closes the ui.
|
_style
|
LegacyUIStyle | The source of the legacy color styles for this component. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
OnCancelPressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnOKPressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnPickerTouched:TouchEvent
|
TouchEvent | ✓ |
Usage
Just don't.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.