Component:ButtonEditColorX

From Resonite Wiki
Revision as of 21:25, 11 September 2024 by AmasterAmaster (talk | contribs) (This is no longer a stub. Added a description, added a usage description. Added field descriptions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.)

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.
Target IField`1<ColorX> The target ColorX.
_colorPicker direct SlotCleanupRef`1<ColorDialogInterface> The ColorDialogInterface component.
Continuous Bool Makes the color editing change continuous.
Alpha Bool Allows for use of the alpha channel.
HDR Bool Allows the use for HDR in this color.

Usage

This is used to edit colors with a press of a button.

Examples

See Also