Component:FloatTextEditorParser

From Resonite Wiki
Revision as of 22:51, 12 September 2024 by AmasterAmaster (talk | contribs) (Cleanup. This is no longer a stub. moved the old description to the usage description, gave this page a new description, added field descriptions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Float Text Editor Parser component as seen in the Scene Inspector


The FloatTextEditorParser component takes in a ParsedValue and if there is a TextEditor on the same slot, it will send the value through the text editor and into either a Text or a TextRenderer component.

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.
ParseContinuously Bool If true, makes the value always update and parse. If false, it only updates when submitted.
UpdateStringFromValue Bool If true, will update the string value from this parsed value.
ParsedValue Float The value that was read from the text field.
Min Float The minimum value that can be read.
Max Float The maximum value that can be read.
DecimalPlaces Int The amount of decimal places that can be read.
StringFormat String Lets you format the string for the text output.

Usage

Place on the same Slot as a TextEditor and anything entered into the text editor will be attempted to be parsed as a Float and output via the ParsedValue field.

Examples

Related Issues

Related Components