Component:LegacyLabel: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Legacy Label
|Name=Legacy Label
}}
}}
{{stub}}
The '''LegacyLabel''' component is a leftover Component from content migrated from other platforms. It should not be used, and should be replaced whenever possible.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TextRenderer|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv0=true|
|TextRenderer|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv0=true| The text renderer for the label visual.
|BaseColor|ColorX|
|BaseColor|ColorX| The base color of the label visual.
|BaseColorElement|ILegacyUIElement|
|BaseColorElement|ILegacyUIElement| The UI element for the base color.
|Brightness|Float|
|Brightness|Float| The brightness of the label visual.
|LerpRatio|Float|
|LerpRatio|Float| A value from 0<->1 to lerp <code>BaseColor</code> and <code>LerpColor</code> with.
|LerpColor|ColorX|
|LerpColor|ColorX| The color to lerp to.
|_textColor|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv6=true|
|_textColor|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv6=true| The field to drive with a color between <code>BaseColor</code> and <code>LerpColor</code> using <code>LerpRatio</code> as the specifier for the in between color.
}}
}}


== Behavior ==
== Usage ==
Not to be used by the user, legacy content.


== Examples ==
== Examples ==
Used in legacy content.


== See Also ==
== See Also ==
Line 24: Line 26:
[[Category:Components:Uncategorized{{#translation:}}|Legacy Label]]
[[Category:Components:Uncategorized{{#translation:}}|Legacy Label]]
[[Category:Components{{#translation:}}|Legacy Label]]
[[Category:Components{{#translation:}}|Legacy Label]]
[[Category:ComponentStubs]]

Revision as of 20:27, 6 April 2025

Component image 
Legacy Label component as seen in the Scene Inspector

The LegacyLabel component is a leftover Component from content migrated from other platforms. It should not be used, and should be replaced whenever possible.

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.
TextRenderer TextRenderer The text renderer for the label visual.
BaseColor ColorX The base color of the label visual.
BaseColorElement ILegacyUIElement The UI element for the base color.
Brightness Float The brightness of the label visual.
LerpRatio Float A value from 0<->1 to lerp BaseColor and LerpColor with.
LerpColor ColorX The color to lerp to.
_textColor field drive of ColorX The field to drive with a color between BaseColor and LerpColor using LerpRatio as the specifier for the in between color.

Usage

Not to be used by the user, legacy content.

Examples

Used in legacy content.

See Also