Component:ColorXMemberEditor: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 1: Line 1:
{{Infobox Component
{{Infobox Component
|Image=ColorXMemberEditorComponent.png
|Image=ColorXMemberEditorComponent.png
|Name=Color XMember Editor
|Name=ColorX Member Editor
}}
}}
{{stub}}
The '''ColorXMemberEditor''' component is used in inspectors and [[Ref Hacking]] to edit ColorX Fields and their elements.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Continuous|Bool|
|Continuous|Bool| Whether updates to the target are continuous.
|_path|String|
|_path|String| Usually "r" "g" "b" "a" to edit parts of the colorX value.
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true|
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true| The colorX to edit.
|Labels|Bool|
|Labels|Bool| Whether to show field labels.
|Vertical|Bool|
|Vertical|Bool| Whether the inspector showing this component is showing it in a vertical fashion.
|_colorDrive|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv5=true|
|_colorDrive|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv5=true| The field to drive with the colorX color for the inspector visual.
|_colorDriveNoAlpha|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv6=true|
|_colorDriveNoAlpha|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv6=true| The field to drive with the colorX target with no alpha applied for the inspector visual.
|_colorDialog|{{RootFieldType|SlotCleanupRef`1|[[Component:ColorDialogInterface|ColorDialogInterface]]}}|TypeAdv7=true|
|_colorDialog|{{RootFieldType|SlotCleanupRef`1|[[Component:ColorDialogInterface|ColorDialogInterface]]}}|TypeAdv7=true| The color dialogue currently being used to edit the color.
}}
}}


== Behavior ==
== Usage ==
Internal.


== Examples ==
== Examples ==
Used in the [[Scene Inspector]] where colors are on Components so the user can edit the colors.


== See Also ==
== See Also ==
* [[Scene Inspector]]
* [[Type:colorX]]


[[Category:Components:Uncategorized{{#translation:}}|Color XMember Editor]]
[[Category:Components:Uncategorized{{#translation:}}|Color XMember Editor]]
[[Category:Components{{#translation:}}|Color XMember Editor]]
[[Category:Components{{#translation:}}|Color XMember Editor]]
[[Category:ComponentStubs]]

Revision as of 19:58, 11 February 2025

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 elements.

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.

Usage

Internal.

Examples

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

See Also