The '''ButtonEditColorX''' component takes in a [[Type:ColorX|ColorX]] and a [[Component:ColorDialogInterface|ColorDialogInterface]] component, and when a button interacts with it, the color is presumed to be edited. However, currently, if this component is under the button being pressed, it removes the button, making the [[Slot|slot]] useless. (TODO: Figure out what is going on with this component.)
|Continuous|Bool|Makes the color editing change continuous.
|Alpha|Bool|
|Alpha|Bool|Allows for use of the alpha channel.
|HDR|Bool|
|HDR|Bool|Allows the use for HDR in this color.
}}
}}
== Behavior ==
== Usage ==
This is used to edit colors with a press of a button.
== Examples ==
== Examples ==
Line 22:
Line 23:
[[Category:Components:Common UI:Button Interactions{{#translation:}}|Button Edit Color X]]
[[Category:Components:Common UI:Button Interactions{{#translation:}}|Button Edit Color X]]
[[Category:Components{{#translation:}}|Button Edit Color X]]
[[Category:Components{{#translation:}}|Button Edit Color X]]
[[Category:ComponentStubs]]
Revision as of 21:25, 11 September 2024
Component image
Button Edit Color X component as seen in the Scene Inspector
The ButtonEditColorX component takes in a ColorX and a ColorDialogInterface component, and when a button interacts with it, the color is presumed to be edited. However, currently, if this component is under the button being pressed, it removes the button, making the slot useless. (TODO: Figure out what is going on with this component.)