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.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Realtime|Bool|
|Realtime|Bool| Whether this component should instantly update the value of the target field in <code>TargetField</code>
|TargetField|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:ColorX|ColorX]]>}}|TypeAdv1=true| The color field this component is editing.
|_originalColor|ColorX|
|_originalColor|ColorX| The original color value <code>TargetField</code>'s target field had before editing.
|_hue|Float|
|_hue|Float| The current selected color hue.
|_saturation|Float|
|_saturation|Float| The current selected color saturation.
|_value|Float|
|_value|Float| The current selected color value.
|_alpha|Float|
|_alpha|Float| The current selected color transparency.
|_profile|ColorProfile|
|_profile|ColorProfile| The current selected color profile.
|_cancelButton|'''[[Component:LegacyButton|LegacyButton]]'''|TypeAdv21=true| The button that when pressed reverts the value of the targeted field in <code>TargetField</code> to <code>_originalColor</code> and closes the ui.
[[Category:Components:UI:Dialogs{{#translation:}}|Legacy Color Dialog]]
[[Category:Components:UI:Dialogs{{#translation:}}|Legacy Color Dialog]]
[[Category:Components{{#translation:}}|Legacy Color Dialog]]
[[Category:Components{{#translation:}}|Legacy Color Dialog]]
[[Category:ComponentStubs]]
Revision as of 20:15, 21 January 2025
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.