Rewritten to be more accurate. Added example video. Added a link to see also.
(One intermediate revision by the same user not shown)
Line 3:
Line 3:
|Name=Button Edit Color X
|Name=Button Edit Color X
}}
}}
{{stub}}
== Usage ==
The '''ButtonEditColorX''' component takes in a [[Type:ColorX|ColorX]] field, and when a button interacts with it, a [[Component:ColorDialogInterface|ColorDialogInterface]] is created for the [[User|user]] (if the user has [[Permission System|Builder]]).
{{Note|If the user does not have Builder and this component is under the button being pressed, it removes the button.|warning}}
|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 ==
=== Videos ===
[[User:ProbablePrime|ProbablePrime's]] Video on '''ButtonEditColorX'''.
<youtube>RYJaQ6cCZzc</youtube>
== See Also ==
== See Also ==
* Inspectors use a different component for changing colors using [[Component:ColorXMemberEditor|ColorXMemberEditor]].
[[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]]
Latest revision as of 00:20, 20 February 2025
Component image
Button Edit Color X component as seen in the Scene Inspector
The ButtonEditColorX component takes in a ColorX field, and when a button interacts with it, a ColorDialogInterface is created for the user (if the user has Builder).
If the user does not have Builder and this component is under the button being pressed, it removes the button.