'''MultiValueTextFormatDriver''' applies the values of source fields to a [https://docs.microsoft.com/en-us/dotnet/api/system.string.format?view=net-5.0#get-started-with-the-stringformat-method text format string] and drives the target string field. The source fields are the numeric elements specified in the format string.
The '''ValueTextFormatDriver''' applies the value of a multiple values to a [https://docs.microsoft.com/en-us/dotnet/api/system.string.format?view=net-5.0#get-started-with-the-stringformat-method text format string] and drives the target string field. Elements are defined by putting {} brackets around a number to specify an element in <code>Sources</code>.
<!--T:2-->
<!--T:2-->
Line 25:
Line 25:
<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
* [[ValueTextFormatDriver (Component)|ValueTextFormatDriver]]<T> when there is a single source.
* [[ValueTextFormatDriver (Component)|ValueTextFormatDriver]]<T> when there is a single source.
Latest revision as of 00:40, 7 July 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Multi Value Text Format Driver component as seen in the Scene Inspector
The ValueTextFormatDriver applies the value of a multiple values to a text format string and drives the target string field. Elements are defined by putting {} brackets around a number to specify an element in Sources.
The format string, which has a list of "{X}" where "X" is a number that refers to an item number in Sources. The entire "{X}" gets replaced by a source with that number.