Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Legacy Color As Linear Adapter | |Name=Legacy Color As Linear Adapter | ||
}} | }} | ||
The '''LegacyColorAsLinearAdapter''' component is used to convert old colors from migrated content into the linear color space for use in modern content. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Target|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv0=true| | |Target|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv0=true| The field to drive with <code>Value</code> converted to linear. | ||
|Value|ColorX| | |Value|ColorX| The original color. | ||
}} | }} | ||
== | == Usage == | ||
Not usually used by the user, is auto generated by the game. | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
Line 19: | Line 21: | ||
[[Category:Components:Uncategorized{{#translation:}}|Legacy Color As Linear Adapter]] | [[Category:Components:Uncategorized{{#translation:}}|Legacy Color As Linear Adapter]] | ||
[[Category:Components{{#translation:}}|Legacy Color As Linear Adapter]] | [[Category:Components{{#translation:}}|Legacy Color As Linear Adapter]] | ||
Latest revision as of 19:37, 6 April 2025
Component image 
Legacy Color As Linear Adapter component as seen in the Scene Inspector

The LegacyColorAsLinearAdapter component is used to convert old colors from migrated content into the linear color space for use in modern content.
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. |
Target
|
field drive of ColorX | The field to drive with Value converted to linear.
|
Value
|
ColorX | The original color. |
Usage
Not usually used by the user, is auto generated by the game.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.