Component:TextDisplayInterface

From Resonite Wiki
Component image 
Text Display Interface component as seen in the Scene Inspector

The TextDisplayInterface component is used to specify what the user's favorite display of clipboard contents should be when pasting text not into a text field and the text is not a link.

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.
ItemName IField`1<String> The name of this favoritable item.
SpawningUser UserRef The user that spawned this favoritable item.
SpawningUserID IField`1<String> The field containing the ID of the user that spawned this favoritable item.
IsInstance Bool Whether this item was spawned by the player (false) or was spawned by the game as part of the favorites system (true).
Heading IField`1<String> The field to fill with what the header text is upon spawn.
Text IField`1<String> The field to fill with what the text the user pasted was upon spawn.
RTF IField`1<Bool> The field to fill with whether the text should be interpreted as Rich Text Format. This is usually the RTF field on a text rendering Component for the UI.

Usage

Spawn the default resonite one from resonite essentials and edit it, or attach a new one and create a UI for it yourself. Once done, save to your inventory and set as your text display to make it your active one.

Examples

The default Resonite text display in Resonite Essentials.

See Also