Automated: create new component page |
mNo edit summary |
||
Line 4: | Line 4: | ||
}} | }} | ||
{{stub}} | {{stub}} | ||
The QuantityTextFormatDriver allows driving a string with an auto formatted quantity. | |||
== Usage == | == Usage == | ||
Line 20: | Line 21: | ||
== Behavior == | == Behavior == | ||
The suitable unit is automatically chosen based on the base value. | |||
== Examples == | == Examples == |
Revision as of 19:40, 7 February 2025
Component image 
Quantity Text Format Driver`1 component as seen in the Scene Inspector

This article or section is a stub. You can help the Resonite wiki by expanding it.
The QuantityTextFormatDriver allows driving a string with an auto formatted quantity.
Usage
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. |
Target
|
field drive of String | |
BaseValue
|
Double | |
FormatUnit
|
String | |
FormatNumber
|
String | |
CompoundFormatUnits
|
direct SyncFieldList`1<String> | |
CompoundUseLongNames
|
Bool | |
CompoundOverrideNames
|
Bool | |
CompoundDiscardLastFraction
|
Bool | |
CompoundSeparator
|
String | |
CompoundZeroHandling
|
CompoundZeroHandling |
Behavior
The suitable unit is automatically chosen based on the base value.