Add info |
Remove from category |
||
Line 30: | Line 30: | ||
</translate> | </translate> | ||
[[Category:Generics{{#translation:}}]] | [[Category:Generics{{#translation:}}]] | ||
[[Category:Components{{#translation:}}|Value Text Format Driver`1]] | [[Category:Components{{#translation:}}|Value Text Format Driver`1]] | ||
[[Category:Generic Components{{#translation:}}|Value Text Format Driver`1]] | [[Category:Generic Components{{#translation:}}|Value Text Format Driver`1]] | ||
[[Category:Components:Utility{{#translation:}}|Value Text Format Driver`1]] | [[Category:Components:Utility{{#translation:}}|Value Text Format Driver`1]] |
Latest revision as of 04:24, 7 November 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
ValueTextFormatDriver applies the value of a single source field to a text format string and drives the target string field. The source field is element 0 in the format string. Elements are defined by putting {} brackets around a number. Although the image shown and the field list below have the source field being a float, this component is generic, so any field type (that can be converted to a string) can be used.
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. |
Source
|
direct RelayRef`1<IField`1<T>> | The source field for the value. |
Format
|
String | The string format with "{0}" in it somewhere |
Text
|
field drive of String | The target field. |
Usage
Examples
Related Components
- MultiValueTextFormatDriver for more than one source.