Component:ColorXMemberEditor

From Resonite Wiki
Component image 
ColorX Member Editor component as seen in the Scene Inspector

The ColorXMemberEditor component is used in inspectors and Ref Hacking to edit ColorX Fields and their UIX elements.

If you just want to change a color with a press of a button, use ButtonEditColorX instead.

Fields

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.
Continuous Bool Whether updates to the target are continuous.
_path String Usually "r" "g" "b" "a" to edit parts of the colorX value.
_target direct RelayRef`1<IField> The colorX to edit.
Labels Bool Whether to show field labels.
Vertical Bool Whether the inspector showing this component is showing it in a vertical fashion.
_colorDrive field drive of ColorX The field to drive with the colorX color for the inspector visual.
_colorDriveNoAlpha field drive of ColorX The field to drive with the colorX target with no alpha applied for the inspector visual.
_colorDialog direct SlotCleanupRef`1<ColorDialogInterface> The color dialogue currently being used to edit the color.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OpenColorPicker:ButtonEventHandler ButtonEventHandler Handles spawning the user's favorite color picker so they can edit this component's target color.

Usage

Internal.

Examples

Used in the Scene Inspector where colors are on Components so the user can edit the colors.

See Also