Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=MultiValueTextFormatDriverComponent.png |Name=Multi Value Text Format Driver }} '''MultiVal..."
'''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-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Sources|SyncRelayList`1|TypeString0=SyncRelayList<IField>| A list of source fields.
|Sources|{{RootFieldType|SyncRelayList`1|[[Type:IField|IField]]}}|TypeAdv0=true| A list of source fields.
|Format|String| The format string.
|Format|String| The format string, which has a list of "{X}" where "X" is a number that refers to an item number in <code>Sources</code>. The entire "{X}" gets replaced by a source with that number.
|Text|IField`1|TypeString2=IField<string>| The target field.
|Text|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv2=true| The target field.
}}
}}
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.
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Multi Value Text Format Driver]]
[[Category:Components{{#translation:}}|Multi Value Text Format Driver]]
[[Category:Components:Utility{{#translation:}}|Multi Value Text Format Driver]]
[[Category:Components:Utility{{#translation:}}|Multi Value Text Format Driver]]
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.