Component:LegacyTextField

From Resonite Wiki
Component image 
Legacy Text Field component as seen in the Scene Inspector

The LegacyTextField component was used to edit text in old content migrated from other platforms. This component should not be used in new content, 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.
Style direct RelayRef`1<LegacyUIStyle> The source of the legacy color styles for this component.
AcceptPhysicalTouch Bool Whether to allow Component:TipTouchSources to interact with/activate this component.
AcceptRemoteTouch Bool Whether this component allows interaction via the user's interaction laser.
Color ColorX The color of the UI elements.
Width Float The width of the UI.
Height Float The height of the UI.
Thickness Float The thickness of the UI.
Slant Float How beveled the UI elements should be.
_textSlot Slot The slot of the text visual of this UI element.
_textRenderer TextRenderer The text renderer of this UI element.
_textEditor TextEditor The text editor that allows direct editing of the value this UI element controls.
_material reference drive of PBS_RimMetallic The material of this UI.
_mesh reference drive of BevelStripeMesh The mesh of this UI.
_textBounds field drive of Float2 The field to drive with the bounds of the text to keep the UI around it.
_colliderSize field drive of Float3 The field to drive with what the size of this UI's collider should be.
_meshLeft reference drive of BevelStripeMesh The mesh of the left button.
_meshRight reference drive of BevelStripeMesh The mesh of the right button.
_textLeftBounds field drive of Float2 The field to drive with the bounds of the text on the left button so the UI stays wrapped around it.
_textRightBounds field drive of Float2 The field to drive with the bounds of the text on the right button so the UI stays wrapped around it.
_leftTextRenderer TextRenderer The text renderer of the left button.
_rightTextRenderer TextRenderer The text renderer of the right button.
_colliderLeftSize field drive of Float3 The field to drive with what the size of the left collider should be.
_colliderRightSize field drive of Float3 The field to drive with what the size of the right collider should be.
_leftOffset field drive of Float3 The field to drive with what the offset of the left collider should be.
_rightOffset field drive of Float3 The field to drive with what the offset of the right collider should be.
_leftTextPosition field drive of Float3 The field to drive wiyh what the position of the text on the left button should be.
_rightTextPosition field drive of Float3 The field to drive wiyh what the position of the text on the right button should be.
IsEnabled Bool Whether this Legacy UI element is enabled and usable.
_hintTextRenderer TextRenderer the text renderer of the edit text hint
_hintTextBounds field drive of Float2 the field to drive with the bounds of the hint text for keeping a UI wrapped around it.
_hintTextEnabled field drive of Bool Whether the hint text should be enabled or not.

Usage

Just dont.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also