|SourceColor|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:Color|Color]]>}}|TypeAdv0=true| The color to convert into a ColorX for <code>Target</code>
|SourceProfile|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:ColorProfile|ColorProfile]]>}}|TypeAdv1=true| The color profile to use for the resulting <code>Target</code>
|DefaultProfile|ColorProfile|
|DefaultProfile|ColorProfile| the ColorProfile to use for <code>Target</code> if <code>SourceProfile</code> is empty.
|Target|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv3=true| The field to drive with the converted <code>SourceColor</code>.
|WriteBack|Bool|
|WriteBack|Bool| Whether to allow changes to the field specified by <code>Target</code> to go backwards and affect <code>DefaultProfile</code> or <code>SourceProfile</code>, and <code>SourceColor</code>. See [[Drives#Write Backs|write backs]].
}}
}}
== Behavior ==
== Usage ==
Attach to a slot and provide <code>SourceColor</code>. Then provide either <code>SourceProfile</code>, or <code>DefaultProfile</code>. The component will then drive a ColorX field through <code>Target</code>.
== Examples ==
== Examples ==
Line 22:
Line 23:
[[Category:Components:Transform:Drivers{{#translation:}}|Color To Color X]]
[[Category:Components:Transform:Drivers{{#translation:}}|Color To Color X]]
[[Category:Components{{#translation:}}|Color To Color X]]
[[Category:Components{{#translation:}}|Color To Color X]]
Whether to allow changes to the field specified by Target to go backwards and affect DefaultProfile or SourceProfile, and SourceColor. See write backs.
Usage
Attach to a slot and provide SourceColor. Then provide either SourceProfile, or DefaultProfile. The component will then drive a ColorX field through Target.